0% found this document useful (0 votes)
2 views5 pages

MS Docs

MS DOS is a single-user, single-tasking operating system with both internal and external commands. Internal commands are memory resident, while external commands are stored on disk and loaded into memory when executed. The document details various commands, their purposes, and syntax for file and directory management.

Uploaded by

abhirup14113
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views5 pages

MS Docs

MS DOS is a single-user, single-tasking operating system with both internal and external commands. Internal commands are memory resident, while external commands are stored on disk and loaded into memory when executed. The document details various commands, their purposes, and syntax for file and directory management.

Uploaded by

abhirup14113
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

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\
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.

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\KRISHNA.TXT
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.

You might also like