CD | Displays the name of or changes the current directory. |
| CD [/D] [drive:][path]or CD [..] |
CHKDSK | Checks a disk and displays a status report. |
COMP | Compares the contents of two files or sets of files. |
| COMP [path1] [path2] |
COPY | Copies one or more files to another location. |
DATE | Displays or sets the date. |
DEL | Deletes one or more files. |
| /F:Force deleting of read-only files. |
DIR | Displays a list of files and subdirectories in a directory. |
EXIT | Quits the CMD.EXE program (command interpreter). |
FORMAT | Formats a disk for use with Windows. |
HELP | Provides Help information for Windows commands. |
| command name+ -help:the same function. |
MD/MKDIR | Creates a directory. |
MOVE | Moves one or more files from one directory to another directory. |
RD/RMDIR | Removes a directory. |
REN/RENAME | Renames a file or files. |
REPLACE | Replaces files. |
SHUTDOWN | Allows proper local or remote shutdown of machine. |
| /s Shutdown the computer. |
| /r Full shutdown and restart the computer. |
| /g Full shutdown and restart the computer.After the system is rebooted,restart any registered applications. |
| /a Abort a system shutdown. |
| /p Turn off the local computer with no time-out or warning. |
| /h Hibernate the local computer. |
| /o Go to the advanced boot options menu and restart the computer.Must be used with /r option. |
| /t xxx Set the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years), with a default of 30. |
START | Starts a separate window to run a specified program or command. |
TASKLIST | Displays all currently running tasks including services. |
TASKKILL | Kill or stop a running process or application. |
| /PID Specifies the PID of the process to be terminated.Use TaskList to get the PID. |
| /IM Specifies the image name of the process to be terminated. |
| /T Terminates the specified process and any child processes which were started by it. |
| /F Specifies to forcefully terminate the process(es). |