Exercise #2 - Using MS-DOS



Identify the DOS commands to be used for performing the specific tasks listed in the MS-DOS tutorial exercise. Confirm the DOS command identified by opening the MS-DOS Command prompt window and entering the DOS commands at the MS-DOS prompt.



Task Description


DOS Command

  • Change to the WINDOWS directory.


  • View a list of the files in the WINDOWS directory.


  • View a list of the files in the current WINDOWS directory - one screen at a time.


  • View a list of the files in the current WINDOWS directory in wide format.


  • Change back to the ROOT directory.


  • Format a diskette (Ensure that a NEW diskette / ERASEABLEdiskette has been placed in Drive A:)


  • Confirm you successfully formatted a diskette in drive a:.


  • Make a system diskette (ie, Create a bootable disk by formatting the disk and placing system files on the disk - IO.SYS, MSDOS.SYS, COMMAND.COM).


  • Confirm you successfully created a system diskette.


  • Make the floppy disk drive the current disk drive.


  • Create a label on a floppy disk.


  • Create a directory named FRUIT - existing off of the ROOT directory.


  • Create a directory named GRAPES - existing within the FRUIT directory.


  • Confirm the existence of the directory GRAPES.


  • Change to the directory GRAPES


  • Switch back to the FRUIT directory.


  • Delete the directory GRAPES.


  • Confirm you successfully deleted the directory GRAPES.


  • Change back to the ROOT directory.


  • View files on Drive C: when drive A: is current.


  • View the contents of the WINDOWS directory on drive C: when drive A: is current.


  • Copy a single file - AUTOEXEC.BAT from drive C: to the ROOT directory on drive A: .


  • Copy the single file - CONFIG.SYS from drive C: to the ROOT directory on drive A: .


  • Copy the CONFIG.SYS file on drive A: to the another file on drive A: havng the name workfile.tmp .


  • Confirm the existence of the files on drive A:.


  • Move all files with the filename WORKFILE to the sub-directory FRUIT.


  • Attempt to remove the directory FRUIT.


  • Confirm the existence of the files on drive A: in the directory FRUIT.


  • Delete the directory FRUIT along with ALL files and sub-directories contained in this directory.


  • Make a directory WORK on the ROOT of drive A:.


  • Copy multiple files from drive C: to the directory WORK directory on driveA:.


  • Make the WORK directory on drive A: the current directory.


  • Confirm that the WORK directory is the current directory.


  • Rename the files in the WORK directory to have the existing filename, but for ALL files to have the extension .TXT.


  • Rename a single file - COMMAND.TXT to COMMAND.COM .


  • Rename multiple files starting with the letter C to start with the letter X and to have the extention .dka


  • Confirm the existence of multiple files starting with the letter X, and having an extension starting with the letter C.


  • Delete multiple files having the extension .TXT


  • Confirm the existence of the files in the current directory.


  • Hide ALL file having an extension starting with the letter C.


  • Delete ALL files existing in the directory WORK


  • List the files in the directory WORK.


  • Return to the ROOT directory of the current drive.


  • Attempt to remove the directory WORK.


  • Return to the WORK directory.


  • List the file in the WORK directory.


  • List ALL files in the directory WORK - including hidden files.


  • Make the hidden file VISIBLE in the directory WORK


  • List the file in the WORK directory.


  • Make ALL files READ-ONLY.


  • Confirm the all files are READ-ONLY.


  • Attempt to delete all files in the current directory.


  • List the file in the WORK directory.


  • Remove the READ-ONLY attribute on all files.


  • Confirm the all files are READ-ONLY.


  • Delete all files in the current directory.


  • Confirm all files have been deleted from the WORK directory.