D.O.S (Disk Operating System)
How to open command prompt?
Step: -
↓
Start
Run
Command
C:\Document & setting\user>
Drive Letter Sub-directory
Directory
1. Dir: Use to view the list of
files & directory.
For example: C:\Document & setting\User> Dir [ENTER]
2. CD… : Use to come out of a
single directory.
For example: C:\Document & setting\User> CD… [ENTER]
C:\Document &
setting\User>
3. CD\ :
Use to come out of a main directory.
For example: C:\Document & setting\User> CD\ [ENTER]
C:\>
4. MD : Use to create a new
directory.
For example: C:\> MD systemtechnlogy
5. CD : Use to open the
exiting directory.
For example: C:\> CD systemtechnlogy
C:\systemtechnlogy>
6. Copy con : Use to create a new
file.
For example: C:\systemtechnlogy> copy con hardware.txt [ENTER]
Physical component of a computer [ENTER]
|
|
Z[To Save] – CTRL+ Z --- ˆZ
1 file (s) copied.
7. Type: Use to chang/add/edit the data in a file.
For example: C:\systemtechnlogy>type hardware.txt [ENTER]
8. Edit: Use to change/add/edit the data in a file.
For example: C:\systemtechnlogy>edit hardware.txt [ENTER]
9. REN : Use to rename the file or directory.
For example: C:\systemtechnlogy>REN hardware.txt
Software [ENTER]
10. Copy: Use to copy the file from one drive to another
drive.
For example: C:\systemtechnlogy>Copy Software.txt
D:\ [ENTER]
Note: How to change drive letter.
C:\systemtechnlogy>D: [ENTER]
D:\>
E: [ENTER]
E:\>
C: [ENTER]
C:\ systemtechnlogy>
11. Move: Use to
cut/move the file from one drive to another drive.
For example: C:\systemtechnlogy>move software.txt
E:\ [ENTER]
12. Tree : Use
to view the branches & sub branches of a directory.
For example: C:\> Tree systemtechnlogy [ENTER]
13. Tree/F :
Use to view the branches & sub-branches of a directory with files.
For example: C:\> Tree/F systemtechnlogy [ENTER]
14. x copy : Use to copy the directory from one drive
to another drive.
For example: C:\> x copy systemtechnlogy D:\ systemtechnlogy [ENTER]
15. ATTRIB + H : Use to hide the
file of directory.
For example: C:\systemtechnlogy>ATTRIB+H Software.txt [ENTER]
16. ATTRIB/S : Use to view the
hidden files.
For example: C:\systemtechnlogy>ATTRIB/S [ENTER]
17. ATTRIB –H : Use to unhide the file directory.
For example: C:\systemtechnlogy>ATTRIB-H Software.txt [ENTER]
18. DEL :
Use to delete directory.
For example: C:\systemtechnlogy>DEL Software.txt [ENTER]
19. RD :
Use to delete directory.
For example: C:\> RD systemtechnlogy [ENTER]
20. CLS :
use to clear screen.
For example: C:\>CLS [ENTER]
