Uploaded by Adnan Bayot

SALAMAT-MASTER

advertisement
SALAMAT MASTER
1. Write the DOS command to display a wide listing of the contents of the root directory of the F: drive.
F:>dir f:\drive.
2. White the DOS command to display a directory listing of the contents of the root directory of the C: drive one page
at a time.
C:>dir c:\drive/s | more
3. Write the DOS command to display all the files that begin with the letter "M" in the root directory of drive C:.
C:>Dir m*
4. Write the DOS command to display all files on drive C whose filenames begin with the letter A and whose
extensions begin with the letter C.
C:>dir A*.C*
5. Write the DOS command to display the files on drive C: that have the .DOC filename extension.
C>dir .DOC*
6. Write the DOS command to make a sub-directory named NEWDIR.
C:>md c:new\NEWDIR
7. Write the DOS command to rename all the files on drive A which have the .HTML filename extension to have the
.HTM filename extension.
A:>ren *.html *.htm
____________________________________________________________________
8. Write the DOS command to change the command prompt to C:\>
C:>cd..
9. Write the DOS command to copy a file named MYFILE1 and name the new copy MYFILE2.
Copy c:\new\MYFILE1 c:\new\NEWDIR
Rn c:\new\NEWDIR\MYFILE1 MYFILE2
10. Write the DOS command to erase a file named MYFILE1 which is stored in the sub-directory named MYFILES
located at the root of drive C.
Del c:\MYFILES\MYFILE1
11. Write the DOS command to return you to the root of drive C if your current directory is C:\FIT \CCS001
C:\FIT\CCS001>cd\
12. Write the DOS command to erase all the files on drive C:
Rd c:
____________________________________________________________________
13. Write the DOS command to delete a subdirectory named FIT which is located at the root of drive C.
Del c:\FIT
Download