Built-in commands
suggest changeThese commands are all built in to the command interpreter itself, and cannot be changed. Sometimes this is because they require access to internal command interpreter data structures, or modify properties of the command interpreter process itself.
Command | Description |
---|---|
ASSOC | Associates an extension with a file type (FTYPE). |
BREAK | Sets or clears extended CTRL+C checking. |
CALL | Calls one batch program from another. |
CD, CHDIR | Displays or sets the current directory. |
CHCP | Displays or sets the active code page number. |
CLS | Clears the screen. |
COLOR | Sets the console foreground and background colors. |
COPY | Copies files. |
DATE | Displays and sets the system date. |
DEL, ERASE | Deletes one or more files. |
DIR | Displays a list of files and subdirectories in a directory. |
ECHO | Displays messages, or turns command echoing on or off. |
ELSE | Performs conditional processing in batch programs when "IF" is not true. |
ENDLOCAL | Ends localization of environment changes in a batch file. |
EXIT | Quits the CMD.EXE program (command interpreter). |
FOR | Runs a specified command for each file in a set of files. |
FTYPE | Sets the file type command. |
IF | Performs conditional processing in batch programs. |
MD, MKDIR | Creates a directory. |
MOVE | Moves a file to a new location |
PATH | Sets or modifies the PATH environment |
PAUSE | Causes the command session to pause for user input. |
POPD | Changes to the drive and directory popped from the directory stack |
PROMPT | Sets or modifies the string displayed when waiting for input. |
PUSHD | Pushes the current directory onto the stack, and changes to the new directory. |
RD / RMDIR | Removes the directory. |
REM | A comment command. Unlike double-colon (::), the command can be executed. |
REN / RENAME | Renames a file or directory |
SET | Sets or displays shell environment variables |
SETLOCAL | Creates a child-environment for the batch file. |
SHIFT | Moves the batch parameters forward. |
START | Starts a program with various options. |
TIME | Displays or sets the system clock |
TITLE | Changes the window title |
TYPE | Prints the content of a file to the console. |
VER | Shows the command processor, operating system versions. |
VERIFY | Verifies that file copy has been done correctly. |
VOL | Shows the label of the current volume. |
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents