DOS Commands, there many commands available in DOS and we can equally perform the operation as we do with GUI, in this article we explain important DOS commands that every windows user should know.
It is equally important that windows administrator must learn the DOS commands to manage the computers, there are two types of commands, internal commands built-in with command shell do not have separate executable files, whereas external commands have their own executable files and are located in %SystemRoot%\System32 directory.
Here are the important commands one must learn to become a system administrator.
This command displays or modifies the current file extension associations.
This is a very important command when you Call a procedure or another script from within a script.
The command CD stands for change directory, it displays the current directory name or changes the location of the current directory.
The command CLS stands for the clear screen, It clears the command window and erases the screen buffer.
The command used for setting the text and background colors of the command-shell window.
The command copy most frequently used command on daily basis, it copies files from one location to another or concatenates files.
The command displays or sets the system date.
This command Deletes the specified file, files, or directory.
This command displays a list of subdirectories and files in the current or specified directory.
This command displays text strings to the command line; sets command echoing state (on | off).
This command Ends localization of variables.
This command exits the command shell.
This command runs a specified command for each file in a set of files.
This command displays current file types or modifies file types used in file extension associations.
This command directs the command interpreter to a labeled line in a batch script.
This command performs conditional execution of commands.
This command most useful on daily basis, it creates a subdirectory in the current or specified directory.
This command creates either a symbolic or a hard link for either a file or a directory.
This command moves a file or files from the current or designated source directory to a designated target
directory. It can also be used to rename a directory.
This command displays or sets the command path the operating system uses when searching for executable and scripts.
This command suspends the processing of a batch file and waits for keyboard input.
This command sets the text for the command prompt.
This command saves the current directory location and then optionally changes to the specified directory.
Most useful command, it removes a directory or a directory and its subdirectories.
Sets a remark in batch scripts or Config.sys.
This command renames a file or files.
This command displays current environment variables or sets temporary variables for the current command shell.
This command marks the start of variable localization in batch scripts.
This command shifts the position of replaceable parameters in batch scripts.
This command starts a separate window to run a specified program or command.
This command displays or sets the system time.
This command sets the title for the command-shell window.
This command is most useful on daily basis task execution, it displays the contents of a text file.
This command is most useful on daily basis task execution it causes the operating system to verify files after writing files to disk.
This command displays the disk’s volume label and serial number.
Thank you for reading this article, if you have any questions please let us know.Thank you for visiting my site, for any scripts in these articles you are testing please make sure you have tested this script in our lower environment before you run in production.