part 2
TRANSCRIPT
![Page 1: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/1.jpg)
Mr. Ahmed Hesham Nabih Elmahdy
![Page 2: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/2.jpg)
� � Dir : The Dir command allows you to see the available files in the current directories . Lists all files & directories in the directory that you are currently in . � Dir/w : if information on the date & time and other information on the files are not needed , then this command can be used to list just the files & directories going horizontally , taking as little as space needed . � Dir/on : Listed the files in alphabetical order by the names of the files . � Dir/o-n : List the files in reverse alphabetical order by the name of the files .
Dir Command
![Page 3: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/3.jpg)
� Dir
![Page 4: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/4.jpg)
� Dir
![Page 5: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/5.jpg)
� Dir/w
![Page 6: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/6.jpg)
� Dir/w
![Page 7: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/7.jpg)
� Dir/on
![Page 8: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/8.jpg)
� Dir/on
![Page 9: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/9.jpg)
� Dir/o-n
![Page 10: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/10.jpg)
� Dir/o-n
![Page 11: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/11.jpg)
� Copy command allows to copy one or more files to an alternate location . example : � Copy *.*a:
copy all files in the current directory to the “ a ” disk drive.
� Copy file1.txt file2.txt
copy the contents of file1.txt to file2.txt . � Copy myfile1.txt + myfile2.txt
copy the contents in myfile2.txt & combines it with the contents in myfile1.txt .
Copy Command
![Page 12: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/12.jpg)
� Copy *.* e:
![Page 13: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/13.jpg)
� Copy capture.png capture3.png
![Page 14: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/14.jpg)
�
MD command allows to create directories in MS-DOS . example : � md test : creates the “test” directory in the currently directory . � md c:\test creates the “test” directory in c:\ directory .
MD Command
![Page 15: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/15.jpg)
� md aa
![Page 16: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/16.jpg)
� md d:\ahmed\aa\a
![Page 17: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/17.jpg)
�
CD (Change Directory)is a command used to switch directories in MS – DOS . examples : � cd/ goes to the highest level , the root of the drive . � cd.. goes back one directory . � cd typing cd alone will print the working directory . � cd folder name goes to folder name directory .
CD Command
![Page 18: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/18.jpg)
� cd\
![Page 19: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/19.jpg)
� cd..
![Page 20: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/20.jpg)
� cd..
![Page 21: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/21.jpg)
� cd
![Page 22: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/22.jpg)
� cd folder name
![Page 23: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/23.jpg)
� Del command is used to delete files from the computer . Deleting files from MS – DOS does not send files to the recycle bin . example: � del test.tmp Delete the test.tmp in the directory that you currently are in , if the files exists . � del c:\Windows\test.tmp delete the c:\Windows\test.tmp in the windows directory , if the files exists .
DEL Command
![Page 24: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/24.jpg)
� Del
![Page 25: Part 2](https://reader030.vdocuments.mx/reader030/viewer/2022032620/55c5cb6bbb61eb692f8b45c8/html5/thumbnails/25.jpg)
� The color command is used to color the CMD text & background. The color command consists of 16 number & letter as shown in the following :
0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f example: � color help Shows the color of each letter & each number. � color F1 The color of the text & background will change to the F1 color .
Color Command