Flipkart Search Bar

Flipkart.com

Tuesday, August 7, 2007

Top 15 DOS Command

1) DIR [ Type DIR command in command prompt ]
displays the content of current folder [ files and directory ]
Complete syntax:- DIR [drive:][path][filename] [/P] [/W] [/A[[:]attributes]] [/O[[:]sortorder]] [/S] [/B] [/L] [/V]
Example:- dir , dir /a , dir c:\


2) CD [ type CD in command prompt ]
used to switch directories in your system
complete syntax:-CD [drive:][path]
Example:- cd c:\

3) COPY [type COPY in command prompt]
used to copy files from one location to another
Complete syntax:-COPY [/A | /B] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination] [/A | /B]] [/V] [/Y | /-Y]
Example :- copy d:\sholay.avi e:\films\classics

4) MOVE [type MOVE in command prompt]
used to move files, also used for renaming files .
complete syntax:-
To move files:-MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination
To rename a directory:-MOVE [/Y | /-Y] [drive:][path]dirname1 dirname2
Example :- move e:\films\classics\sholay.avi e:\films

5) MKDIR [type MKDIR in command prompt]
creates a new directory on disc
syntax :- mkdir [drive:][path]
Example:- mkdir newgf

6) COLOR [type COLOR in command propmt]
used to change the default color setting s of command propmt
Complete syntax :-COLOR [attr]
TIP:-) want a feel like matrix ?? use following command
color 0a [ zero is for background color ie black and 3 for text color ie green]

7) EDIT [type edit in command prompt]
used to edit a text document in command prompt
Complete syntax:-EDIT [/B] [/H] [/R] [/S] [/] [/?] [file(s)]
Example:- edit passwords.txt

8) DELETE [type DELETE in command prompt]
used to delete files from the disc
Complete syntax :-DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
Example:- del e:\films\koyla.avi

9) RD [type RD in command prompt]
used to delete directories
Complete syntax:- RD [drive:]path
Example:- rd e:\films\adult

10) CLS [type cls into the command prompt]
clears the screen and present with a prompt ]
Complete syntax:- cls
Example:- cls

11) PING [type PING in command prompt]
used to check the status of the network \ host.
Complete syntax:- [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS][-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] destination-list
Example:- ping 10.240.144.195

12) Format [type format in command prompt]
used to format a partition
omplete syntax:-FORMAT volume [/FS:file-system] [/V:label] [/Q] [/A:size] [/C] [/X]
Example:- format c:\

13) PROMPT [type PROMPT in command prompt]
used to chage the dafault prompt [ effective for current session ]
Complete Syntax :-PROMPT [text]
Example:- prompt goodmorning :-)

14) HELP [type help in command prompt]
displays list of all available commands
syntax :- help command_name
Example :-help copy

15) EXIT [type EXIT in Command prompt]
used to quit the command prompt
Complete Syntax :- exit
Example :- exit

No comments :

 

Blogger news

Blogroll

About