I. Common DOS commands
Drive letter:----------------- Enter the specified drive letter; dir--------------------- lists the files and folders in the current directory. RD file name ---------------- Delete empty folders. (Non-empty folder, file must be deleted first) CD: folder name -----------The folder where the file name is opened. CD.. ---------------------- return to the previous level of the directory. cd\---------------------- back to the root directory. echo "Hello java">a.txt------- Write text to the specified file. Type a.txt------------- Displays the contents of the file. Del------------------- Delete the file. Exit------------------ launch the DOS command. The CLS--------------- empties the current command. *------------------- wildcard characters. tab------------------ command completion. Arrow keys --------------retrieve the last command you wrote.
View Code
Java Development Prelude