Common Command Management
Wang Coli (Star stars) in Java learningA. Common DOS commands in window
Where to operate DOS commands:
Win7---> Start----"All Programs---" accessories----"Command prompt
Win7--> Start---"Run----" Input cmd
1.1 Drive Symbol Switching:
Disk Fu Yi + colon format: drive letter:
Example: Want to drive from C to D
C:/user/xxxx D:
1.2 Working with folders
Dir: Displays all files and folders in the current folder.
CD path: Enter to the specified path.
Cd.. : Go back to the top level directory
CD \: Back to the current directory with the directory
MD folder name Create a folder
Rd Folder name Delete Folder action
1.3 Operation of the file
echo data (content) > file name Create a file and specify the data.
Type file name to view the contents of the specified file
Del file name deletes the specified file
* Wildcard Characters
Tab fill Content
CLS Clear Screen
Up and DOWN ARROW keys to retrieve the last written content
Exit close the console.
Common command Management in Java Learning (Small records in Java learning)