5.1.6. Advanced DOS¶
5.1.6.1. Help¶
Provides Help information for Windows commands. |
5.1.6.2. File contents commands¶
Displays the contents of a text file. | |
Sorts input. | |
Searches for a text string in a file or files. | |
Searches for strings in files. | |
Displays output one screen at a time. |
5.1.6.3. Change current screen / display¶
Clears the screen. | |
Sets the default console foreground and background colors. | |
Changes the Windows command prompt. | |
Sets the window title for a CMD.EXE session. |
5.1.6.4. Calling and exiting batch Files¶
Calls one batch program from another. | |
Starts a new instance of the Windows command interpreter. | |
Starts a separate window to run a specified program or command. | |
Quits the CMD.EXE program (command interpreter). |
5.1.6.5. File/Folder/Directory management commands¶
Displays a list of files and subdirectories in a directory. | |
Creates a directory. | |
Displays the name of or changes the current directory. | |
Removes a directory. | |
Deletes one or more files. | |
Renames a file or files. | |
Moves one or more files from one directory to another directory. | |
Replaces files. |
5.1.6.6. Comparision commands¶
Compares the contents of two files or sets of files. | |
Compares two files or sets of files, and displays the differences between them. |
5.1.6.7. Date & Time commands¶
Displays or sets the date. | |
Displays or sets the system time. |
5.1.6.8. Environment Variable management commands¶
Displays, sets, or removes Windows environment variables. | |
Displays or sets a search path for executable files. | |
Begins localization of environment changes in a batch file. | |
Ends localization of environment changes in a batch file. |
5.1.6.9. Adding more funcionality to a batch file¶
Records comments (remarks) in batch files or CONFIG.SYS. | |
Displays messages, or turns command echoing on or off. | |
Suspends processing of a batch file and displays a message. | |
Directs the Windows command interpreter to a labeled line in a batch program. | |
Performs conditional processing in batch programs. | |
Shifts the position of replaceable parameters in batch files. | |
Runs a specified command for each file in a set of files. |
5.1.6.10. Switching directories¶
Saves the current directory then changes it. | |
Restores the previous value of the current directory saved by PUSHD. |
5.1.6.11. Copy commands¶
Copies one or more files to another location. | |
Copies files and directory trees. | |
Advanced utility to copy files and directory trees |
5.1.6.12. Other commands¶
Graphically displays the directory structure of a drive or path. | |
Associates a path with a drive letter. | |
Displays the Windows version. | |
Edits command lines, recalls Windows commands, and creates macros. |