Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
100% found this document useful (1 vote)
4K views

Assignment of DOS

The document discusses the versions of DOS, the significance of MSDOS.sys, the difference between internal and external commands, and commands to format disks, display files, copy files between drives/directories, and the differences between copy and xcopy commands. Key points include that the versions of DOS are 4, 5, 5.2, and 6; MSDOS.sys acts as a bridge between IO.sys and applications; internal commands are present in command.com while external commands are separate files; and xcopy can copy files and folders while creating directories, while copy only copies files and cannot combine files.

Uploaded by

Pravah Shukla
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
4K views

Assignment of DOS

The document discusses the versions of DOS, the significance of MSDOS.sys, the difference between internal and external commands, and commands to format disks, display files, copy files between drives/directories, and the differences between copy and xcopy commands. Key points include that the versions of DOS are 4, 5, 5.2, and 6; MSDOS.sys acts as a bridge between IO.sys and applications; internal commands are present in command.com while external commands are separate files; and xcopy can copy files and folders while creating directories, while copy only copies files and cannot combine files.

Uploaded by

Pravah Shukla
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment of DOS

1. Write down the four versions of DOS.


The four versions of DOS are 4, 5, 5.2, and 6
2. What is the significance of MSDOS.sys program?
It directly interacts with IO.sys and application programs/software. It understands
the signals from IO.sys and makes the application program work accordingly. It
acts as a bridge between IO.sys and application programs.
3. What is the difference between internal and external commands? Explain
with examples
Internal Commands External Commands
1 They are present in command.com 1 They are not present in command.com but
) ) are separate files.
2 They get loaded into 2 They are separate files and do not get
) RAM(Random Access Memory) ) loaded in RAM(Random Access Memory)
on boot up process at boot up process.
3 Example: dir, del, copy Example: xcopy, diskcopy, chkdsk
)

4. Write down the command to format a disk when you are present in any
other disk
C:\>format D:
This command will format D drive
5. Write down the command to display all files having common extension and
hidden.
C:\> dir *.doc /A:h
This command will display all hidden .doc files
6. Write down the command to display all non-hidden read only files and also
sort them in alphabetical order.
C:\>dir /A:r-h /O:n
7. Create a directory in D drive, enter in that directory and create a
subdirectory there.
C:\>D:
D:\>md pra
D:\>cd pra
D:\pra>md pravah
D:\pra>
Note: md stands for make directory and cd stands for change directory. pra and
pravah are the names of directories here.
8. Copy a file from subdirectory XYZ which is present in directory PQR in D
drive and copy it into E drive with a different name.
C:\> copy D:\PQR\XYZ\filename.ext E:\filename2.ext
9. What is the use of diskcopy command?
Diskcopy command is an external command which makes a copy of removable
disk (source disk) on another disk (target disk). The disk must be removable.
Syntax:
C:\>diskcopy A: D:
10. What is difference between copy and xcopy command? Explain with suitable
examples.
copy xcopy
1 It is an internal command 1 It is an external command
) )
2 It can copy files only 2 It can copy files and folders too
) )
3 While copying it cannot create 3 While copying it can create directory.
) directory )
4 It can combine two files using + 4 It cannot combine two files
) )
5 It is directly associated with target file 5 It is not directly associated with target
) ) file

You might also like