Vous êtes sur la page 1sur 3

Dos

Start- All Program – accessories-Command prompt.


Alt+ Enter
Cd\Enter
1. Date- Enter. (To display date)
2. Time – Enter (To display time)
3. CLS- Enter (To clear the screen)
4. DIR-Enter (display all files and directory present in the directory)
5. DIR/P-Enter (to display all files and directory in the directories page
wise)
6. DIR/w- Enter (to display all files and directory present in the directory
widely)
7. DIR/O:N/P – Enter (to display all files and directories present in the
directory page wise in ascending order)
8. DIR/O:-N/p- Enter (To display all files and directories present in the
directory page wise in descending order)
9. DIR/ O:s/p-Enter ( To display all files and directories present in the
directory page wise and size wise in ascending order)
10. DIR/ O:-s/p-Enter ( To display all files and directories present in the
directory page wise and size wise in descending order)
11. DIR/o:e/p- Enter( To display all files directories present in the
directory page wise and extension wise in ascending order).
12. DIR/o:-e/p- Enter( To display all files directories present in the
directory page wise and extension wise in descending order).
13. DIR/O:D/P- Enter ( To display all the files and directory present in the
directory page wise and date wise in ascending order).
14. DIR/O:-D/P- Enter ( To display all the files and directory present in the
directory page wise and date wise in descending order).

15. Attrib +H File Name - Enter (to hide a file)


Ex: Attrib +h raj
16. Attrib -H File name - Enter (To unhide a file)
Ex: Attrib -h raj
17. Copy Con Filename – Enter. Then enter your data and press F6 (To
create a file)
Ex: copy con raj
18. Type file name - Enter (To open a file)
Ex: type raj
19. REN Old file name - New file name – Enter (To rename a file).
Ex: Ren raj priya
20. Edit filename - Enter (To edit or modify a file).
Ex: Edit priya
21. Del filename - enter (to delete a file)
Ex: Del priya
22. Md directory name - enter (to create a directory)
Ex: Md raj
23. Cd directory name– enter (to open a directory)
Ex: Cd raj
24. Cd..- enter (to close a directory)
Ex: Cd..
25. Rd directory name -enter (to remove a directory)
Ex: Rd raj
26. Copy source target – enter (to copy a file from one directory to
another directory).

Ex: Copy raj priya


27. Move source target – Enter (To move a directory to another
directory).
Ex: Move raj priya
28. Copy con file name.txt – enter (Then enter your data and press F6)
(To create a txt document).
Ex: Copy con raj.txt
29. Copy con filename.doc – enter. (Then enter your data and press F6)
(To create a document).
Ex: Copy con raj.doc
30. Copy con file name .bat – enter (type Date – enter, Time – enter, Dir
– enter then press F6- enter).
Ex: Copy con raj.bat
31. Dir *.*- enter. (To display all the files and directory).

32. Dir *.txt – enter. (To display all the txt files).

33. Dir s*.* enter. (To display all files started with S).

34. Dir ???? – enter (To display all the files and directories with minimum
4 characters).

35. Path- Enter.

36. Attrib – Enter (To show all hidden files).

Vous aimerez peut-être aussi