MS DOCS [MICROSOFT DISK
OPERATING SYSTEM]
Interface:- 1. Single Interface
2. Graphical Interface
GUI
Doc :- CMD
MS DOCS is single user single tasking operating system.
MS DOCS are 2 types :- 1. Internal Command
2. External Command
Internal Command :- Internal Commands are memory residents
means loaded in the primary memory of computer at the time of
boating.
EXAMPLE :- COPY CON, COPY, CD, MD, RD, etc.
External Command :- External Commands are disk resident means
existing in the disk as file extention[ .com, .bot, .exe]. When we
execute external command it will be loaded into primary memory
and then execute.
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 :-
PURPOSE:- This command is used to create a text file.
SYNTAX:- COPY b CON b [D:] [<PATH>]<FILENAME>
EXAMPLE:-
D:\>COPY b CON b ADNHEJF23\MORN\SECA\
[Link]
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.
SYNTAX:- TYPE b [D:] [<PATH>] <FILENAME>
<FILENAME> = Specifies the name of the file where context we
want to display.
EXAMPLE:-
D:\> TYPE b ADNHEJF23\MORN\SECA\[Link]
RADHE RADHE
5. REN :-
PURPOSE:- This command is used to rename file(s)
SYNTAX:- REN b [D:] [<PATH>]<FILENAME> b <FILENAME2>
<FILENAME> = Specifice source file
<FILENAME2> = Specifice target filename
6. COPY:-
PURPOSE:- This command is used to duplicate file(s)
SYNTAX:-
COPY b [D:] [<PATH>]<FILENAME1> b [D:] [<PATH>]
[<FILENAME2>]
<FILENAME1> = Specifies source file(s) i.e. the file(s) that we
want to duplicate.
<FILENAME2> = Specifies target file(s) i.e. by the name the
source file will be duplicate.
7. DEL:-
PURPOSE:- This command is used to delete file.
SYNTAX:- DEL b [D:] [<PATH>]<FILENAME>
<FILENAME> = Specifies the name of the file that we want to
delete.
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.
SYNTAX:- TREE b [D:] [<PATH>] [FILENAME] [/F]
/F = List files under each subdirectory.
ATTRIB:-
PURPOSE:- This command is used to set/reset attribute of files(s).
SYNTAX:- ATTRIB b [+ - R] [+ - H] [D:] [<PATH>] [<FILENAME>]
[/S]
+R = Set Read Only Attribute.
-R = Reset Read Only Attribute.
+ H = Set Hidden Attribute.
-H = Reset Hidden Attribute.
/S = Specifies Low Level Subdirectory.
XCOPY:-
PURPOSE:- This command is used to duplicate files as well as
subdirectories.
SYNTAX:- XCOPY b [D:] [<PATH>]<FILENAME1> b [D:]
[<PATH>]<FILENAME2>[/S] [/E] [/P]
/S = Copies Low Level nonempty subdirectories.
/E = Copies Low Level subdirectories.
/P = To Perform interactive copy.