MS DOS Command Daquan
First, the basic command
1 dir
No parameters: View the files and folders that are currently in your directory.
/s: View the files and folders for which the current directory has all its subdirectories.
/A: View all files that include hidden files.
/ah: Only hidden files are displayed.
/w: Displays files and folders in a compact way (5 files on one line).
/p: Displayed as paging (automatically pausing after a page is displayed).
|more: The preceding symbol is "\" The one above, called the redirect symbol, is to put a
The result of the command is output as a parameter to another command. More is also an order, dir/w |more
The result is the same as the result of dir/w/p.
Other parameters you can use: dir/? view.
2 CD
CD Directory Name: Enter a specific directory. If you see a directory displayed as: ABCdef ghi
Input: Cdabcdef.ghi into the directory.
Cd\ back to the root directory.
Cd.. Go back to the top level directory.
3 MD Rd
MD Directory Name: Create a specific folder. (Dos under the habit called Directory, win under the custom called the text
Folder. Oh! )
RD Directory Name: Deletes a specific folder.
4 CLS
Clear the screen.
5 copy
Copy path \ filename path \ filename: Copy a file to another location.
6 move
Move path \ filename path \ filename: Move a file (cut + copy) to another
A place.
7 del
del file name: Deletes a file.
Del * *: Deletes all files under the current folder.
Del cannot delete a folder.
8 deltree
Delete the folder and all the subfolders underneath it there are also files, bad ... Don't mess with it.
9 format
Format x:: x represents the drive letter, formatting a partition. The FAT file system format is used under DOS
When Windows2000 is installed, you will be asked to convert to NTFS.
Ten type
Type text filename: Displays the contents of the text file.
Edit
In fact, this is a small program, editing text files with.
ren
ren old filename New file name: Change the file name.
Some DOS commands