MS Docs
MS Docs
OPERATING SYSTEM]
GUI
Doc :- CMD
EXAMPLE :- Disk D:
<ADNHEJF23>
<MORN>
<SECA>
<SECB>
<DAY>
<SECA>
<SECB>
Internal Command
1. MD :-
PURPOSE :- This command is used to create a directory.
SYNTEX :- MD/[D:] [<PATH>]<DIRECTORY NAME>
D: = Specifies drive
<PATH>= Specifies the location where the directory will be
created. It is specified by one or more directory name. When
more than one directory is specified then they must be
separated by “\”.
<DIRECTORY NAME> = Specified the name of the directory
that we want to create.
<C:\.........> = System Promt.
File name contains two names :- 1. Primary Names.
2. Extended Names.
2. COPY CON :-
EXAMPLE:-
D:\>COPY b CON b ADNHEJF23\MORN\SECA\
KRISHNA.TXT
D:\>RADHE RADHE Z
1 FILE(s) COPIED
3. CD :-
PURPOUSE:- This command is used to change the current
directory.
SYNTAX:- CD b [<PATH>]
EXAMPLE :-
D:\>CD b ADNHEJF23\MORN\SECA
D:\ADNHEJF23\MORN\SECA
4. TYPE :-
PURPOSE:- This command is used to display the content of a file.
EXAMPLE:-
D:\> TYPE b ADNHEJF23\MORN\SECA\KRISHNA.TXT
RADHE RADHE
5. REN :-
PURPOSE:- This command is used to rename file(s)
6. COPY:-
PURPOSE:- This command is used to duplicate file(s)
SYNTAX:-
COPY b [D:] [<PATH>]<FILENAME1> b [D:] [<PATH>]
[<FILENAME2>]
7. DEL:-
PURPOSE:- This command is used to delete file.
8. RD:-
PURPOSE:- This command is used to delete a directory.
SYNTAX:- RD b [D:] [<PATH>]<DIRECTORY NAME>
EXTERNAL COMMANDS
TREE:-
PURPOSE:- This command is used to display directory structure in
pictorical form.
ATTRIB:-
PURPOSE:- This command is used to set/reset attribute of files(s).
XCOPY:-
PURPOSE:- This command is used to duplicate files as well as
subdirectories.