In the Windows system launched more than 20 years, and in the graphical operating system interface become more mature and popular today, DOS command for the public already very strange, is not only a DOS command, and the LINUX command line is also mysterious, synonymous with high-end even hackers, it just change the way the basic application of the computer operation, It’s not as glamorous as a lot of people think.

Before introducing how DOS operates directories and folders, I will briefly introduce the DOS system, uncover the mystery of DOS commands and then get to the topic, as an appetizer before dinner. A brief history of DOS system development

The DOS system is one of many operating systems, is for the microcomputer service, we use today’s personal computers are all microcomputer, DOS is not difficult, but there is no graphical interface, using DOS system can only be operated by the command line, which discouraged a large number of people, in fact, LINUX system is the same, just because open source, There were a lot of big guys who contributed graphical interfaces. Operating systems came into being with the emergence of computers. Computers started out as mainframes, and IBM rose in the mainframe era. Later, as technology advanced, minicomputers were developed, and then microcomputers that individuals could use.

In April 1974, Intel introduced the 8-bit chip 8080 that could meet the needs of microcomputer computers. The following year, MITS introduced the 8800 microcomputer that carried the chip. It was the first personal computer in human history. Two programmers in Seattle saw a business opportunity, but instead of building systems, they developed the BASIC interpreter for MITS, which led to the founding of Microsoft. In 1975, another company developed the CP/M operating system for the 8800 computer

In 1978, Intel introduced the 16-bit chip 8086, but the software updates were far behind. It was not until 1980 that another programmer developed QDOS based on CP/M. In the same year, IBM decided to enter the minicomputer/microcomputer field, and initially decided to cooperate with the software company is Microsoft. But Microsoft didn’t have an operating system at the time.

In July 1981, QDOS became Microsoft’s first product. Microsoft made some improvements, renamed it MS-DOS, and licensed it to IBM. Microsoft then followed IBM’s lead in updating MS-DOS. What we call DOS today is MS-DOS.

Later, under the influence of Apple, Microsoft began developing a graphical operating system, and Windows 3.0 was so successful that by 2000, Microsoft had ended mS-DOS maintenance entirely, instead using it as a command line attached to Windows. How do DOS commands operate directories and folders?

After a preliminary understanding of the development of DOS, let’s start with one of the most basic operations in the computer: open different directories, open different files; How does DOS work?

Use the CD command, the full name of CD is change directory, the official explanation is called: change the current prompt directory path or prompt directory path, translation is you want to see which disk, use the CD command.

Open the DOS command line: win+R, enter CMD, and then the familiar black box will appear.

Open DOS default is in the system disk is C disk, we change disk, such as F disk, the format is: CD /d drive letter,/d and drive letter between empty space can not space,

In fact, you can also be a little simpler, direct drive letter with an English colon on the line, this time to G disk try

The official solution to /d is to change the current drive or the current directory of the drive. In fact, the function of /d is to change the current directory, or do not add, enter the command directly press enter, using the command line to locate the corresponding directory is so simple.

CD command can not only be used to locate the directory, but also directly locate the folder under the directory, the format is very simple, directly CD file name by pressing Enter

Note: this can only be a folder in the current directory

Cd command can be followed by a more specific path, the format is Cd folder name \ subfolder name,

All of the above is how to use the CD command level by level view, so how to backward? DOS in an English period, that is, a point, is a level of directory, two points, is two levels of directory, format: CD.. Or CD.

One extra dot doesn’t matter

Return one level up, two levels up, or even N levels up. How about going back to the root directory? Just CD \

Finally, what is the difference between CD directory names (folder names) and CD \ directory names (folder names)? The contents of \ are subfolders, and the contents in front of \ are upper directories or root directories.

Official explanation is: the former is to enter the current directory under the subdirectory, you must first enter the upper directory, while the latter is to enter the root directory folder;

The former is a relative path, while the latter is an absolute path. The advantages of DOS and how do we treat DOS today

DOS system rose from the last century in the eighties, its vitality has continued to the twenty-first century, popular for twenty years of things must have their irreplaceable role, DOS still exists today, because it can do a lot of things that The Windows system can not do, such as: You can manage files better because you use FAT (file allocation table) to manage files, have better support for external devices, run BIOS (basic input and output system) most functions, even trojans with DOS commands can be cleaned up, and DOS is small and flexible, the hardware requirements are not high… Too much;

DOS is so powerful, but also the enemy but a word: “the truth I understand, but the strength does not allow.” DOS command is not only more, but also requires you to step by step, a wrong can only come again, this is really not friendly for beginners, graphical interface is so sweet, why so toss about?

Today many of us in many cases do not really use DOS commands, but programmers and some enthusiasts are still willing to play, does it mean that “DOS is old, still can live?” The emergence of the situation?

Is not, the use of DOS command can make you more understand the computer internal operation logic, graphical interface operating system shielded too much let ordinary people feel very troublesome things, so far Windows dare not completely divorced from DOS, DOS system may have withdrawn from the historical stage, but DOS command will not be obsolete!