1, enter a disk, such as: C, this command is: C: then enter
2, to enter a directory, the first need to enter the directory of the disk, such as: C: then CD XXXX (the directory below the disk). And then enter.
3. If you want to see what files are in a directory, you need to go to the directory where the directory is located, and then use the dir command to view the files in that directory. And then enter.
4. If you need to return to the top level directory, the command is: CD. If you need to return to the root directory, the command is: cd/ then enter
5. To create a directory, first enter the root directory (or you want to create a new directory in a directory), first to enter the directory, and then use the command:MD XXXX(new directory name). then enter.
6. If you want to create a file, use the command: echo >xxxx (file name. File type).
7, if you want to delete the directory, the command is: rd xxx , delete the file, the command is: del XXX .
Note : When a directory with files is deleted, you should use Del to delete the files in the directory before using the command Rd to delete the directory.
[Transfer from]:http://www.cnblogs.com/itliulovefeng/p/4567831.html
DOS Common commands