Thursday, April 9, 2015

Homework 3

I, Write the DOS commands of the following tasks.

        1. Hide file test.txt.



       2. Unhide the file test.txt


       3. Display all hidden files


       4. Copy all files with file extension .exe from the current drive to c:\Daniel

   
       5. Copy file test.txt to a new file test2.txt

      7. Erase all files that starts with A and followed by 5 characters and with file extension .com

      8. Change the prompt to Hello World :)

      9. Clear the the screen

     10. Display the date and accept the current date.


II.  Explain the function of the following DOS commands.

    1. tree

    2. CHKDSK

    3. Restore

    4. Format

    5. FDisk

III.
   
      What is batch file?


      What is autoexec.bat?






1 comment: