100% found this document useful (1 vote)
906 views7 pages

Ms Dos Practical

This document provides instructions for 16 common DOS commands: DATE, TIME, CD, MD, RD, CLS, TREE, REN, TYPE NUL, COLOR, TITLE, ECHO, ATTRIB, VER, HELP, and COPY. It lists the syntax for each command and provides a brief description of its functionality, such as using DATE to view the current date, CD to change directories, and COPY to copy files.

Uploaded by

Sandeep Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
100% found this document useful (1 vote)
906 views7 pages

Ms Dos Practical

This document provides instructions for 16 common DOS commands: DATE, TIME, CD, MD, RD, CLS, TREE, REN, TYPE NUL, COLOR, TITLE, ECHO, ATTRIB, VER, HELP, and COPY. It lists the syntax for each command and provides a brief description of its functionality, such as using DATE to view the current date, CD to change directories, and COPY to copy files.

Uploaded by

Sandeep Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
You are on page 1/ 7

Lumbini ICT College

Affiliated to TU

Lab No :-05

TITLE :- Dos Commands

Submitted by : Submitted to :

Sandeep Sharma Kaushik Raj Panta

Date: 2075/11/
1. Date:
To find the current date, MS-DOS provides DATE command.
Syntax : Date

2. Time :
To find the current time, MS-DOS provide the TIME commands.
Syntax :

3. Cd (change directory):

It is a command used to switch directories in MS-DOS.

 Cd.. : Goes back one directory. For example, below you can see it goes back from Temp
directory to Windows directory.
Syntax :

 Cd/ : Goes to the highest level, the root directory


Syntax :

4. Md (make directory):
It allows you to create your own directory in the specified drive.
Syntax :

You can check whether your directory has created or not to the specified place
5. Rd (remove directory):
If you want to remove any directory from any drive use rd command. For example, in the below
figure we want to remove sandy folder which is present in C drive.
Syntax :

6. CLS :
It is used to clear the screen.
Syntax :

7. Tree :
This command is very useful to view the list of directories and subdirectories present
on the disk in graphical form.
Syntax :
8. Ren :
This command is used to rename file or folder.
Syntax :

9. Type nul :
It is used to create an empty file.
Syntax :

10. Color :
It enables the user to change the default color of their background.
Syntax :

11. Title :
It enables a user to change the title of their MS-DOS window.
Syntax :

12. Echo :
It is used to write in an empty file.
Syntax :
13. Attrib :
It is used to hide or unhide files or folders.
Syntax :

14. Ver :
This command is used to find the windows version.
Syntax :
15. Help :
Help is used to access the information and help file from an MS-DOS prompt.
Syntax :

16. Copy :
It is used to copy a file1 to file2
Syntax :

You might also like