Ms Dos Practical
Ms Dos Practical
Affiliated to TU
Lab No :-05
Submitted by : Submitted to :
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):
Cd.. : Goes back one directory. For example, below you can see it goes back from Temp
directory to Windows 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 :