10 March 2012

MS DOS commands

In older post Run commands for Windows I had listed some important run commands. Now I am listing commands for MS DOS. MS DOS ( Microsoft Disk Operating System) is Microsoft's operating system based on CUI (Commandline User Interface). Here I am giving the list of some important MS DOS Commands and in last i will tell how you can explore all the DOS Commands within the Command Prompt.
These DOS commands works with window too. 


First open the command prompt. This you can do in any way you like. I like to open that through RUN Command .Type Window logo + R from your keyboard, this will open RUN dialog box on your screen. Type cmd in it and then run. This will open Command Prompt window as shown below.
Command Prompt default view
Now you are ready to use Dos commands in that window.

List of MS DOS Commands:-

ATTRIB:- To view attributes of one or more files.

CD or CHDIR:- To View or change the current directory.

CLS :- Clear the screen.

CMD:- Opens the command interprater

COLOR:- Set the default console foreground and background colors.

COMP:- Compare the content of two files or set of files.

CONVERT:-  Convert FAT volume to NTFS volume.

COPY:- Copies one or more files to the another location.

DATE:- Displays or set the date.

DEL:- Deletes one or more files.

DIR:- Displays  list of files or subdirectories in a directory.

DISKCOPY:- Copies content of one floppy disk to another.

DISKPART:- Displays or configure Disk Partition properties.

Erase:- Deletes one or more files.

Exit:- Exits the command window.

FIND:- Searches the text string in a file or files

FOR:- Runs a specified command for each file in a set of files.

FORMAT:- Formats a disk.

HELP:- Provides help information for windows commands.

MD or MKDIR:-  Creates a directory.

MOVE:- Moves one or more file from one directory to another directory .

 PRINT: Prints a text file.

RD or RMDIR:- To remove a directory.

RECOVER:- Recovers readable information from a defective or bad disk.

REN or RENAME:- Renames a file or files.

REPLACE:- Replace files.

SHUTDOWN: Shutdown of machine.

SYSTEMINFO:- Displays system properties and configuration.

TASKLIST:- Displays all currently running tasks.

TASKKILL:- Kill or stop a running process or application.

TIME:- Display or set the time.

TITLE:- Title for MS DOS Window.

TYPE: Displays the content of  text file or files.

VER:- Displays the window version.

VERIFY:- Tells the window to verify weather the files are written to disk correctly.

VOL:- Displays the disk volume label and serial number

XCOPY:- Copy files and directory trees.

 This is the list of some important DOS Commands which everyone can use technical or non-technical person. you can see the syntax and options related to each command by using help command. for this you have to write like below.

C:\ Users\ Administrator> help [command name]

C:\ Users\ Administrator> help attrib

attrib command help
There are many more MS DOS commands which you can check by yourself. For this just type help in your command prompt and enter.

HELP Command
Now you can know about each and every command by help for that command.

X3QCJZAT79A9

No comments:

Post a Comment