Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lab Assignment 2 Common DOS Commands. Submitting the LABS for grading Subject line of email message: CTEC 110 WA Lab 2 Assignments Attachment file names:

Similar presentations


Presentation on theme: "Lab Assignment 2 Common DOS Commands. Submitting the LABS for grading Subject line of email message: CTEC 110 WA Lab 2 Assignments Attachment file names:"— Presentation transcript:

1 Lab Assignment 2 Common DOS Commands

2 Submitting the LABS for grading Subject line of email message: CTEC 110 WA Lab 2 Assignments Attachment file names: DOS Lab 2-A, DOS Lab 2-B, DOS Lab 2-C, DOS Lab 2-D, DOS Lab 2-E, DOS Lab 2-F, DOS Lab 2-G Inserted Textual First Line of “each” Lab Assignment: Name, CTEC 110 WA, DOS Lab 2-A Name, CTEC 110 WA, DOS Lab 2-B Name, CTEC 110 WA, DOS Lab 2-C Name, CTEC 110 WA, DOS Lab 2-D etc… (Where Name is your first and last name such as: David Sims (Add one blank line after the first line for readability.) Lab 2 Assignments (13 slides)CTEC 1102

3 2-A Activity: Using the DIR Command 1.Start up a Command Prompt 2.Change to the root of the C: Drive 3.Clear the screen 4.Change to the “Windows” directory 5.Display all the files that end with “.exe” 6.Display those files in reverse sort order 7.Finally display those files in file size order 8.Snapshot the screen results and save. Lab 2 Assignments (13 slides)CTEC 1103

4 2-B Activity: Using the CHKDSK Command 1.Open a Command Prompt window 2.Clear the screen 3.Change to the root of the C: Drive 4.Check the Z Drive and fix any errors 5.Snapshot the screen results and save.

5 2-C Activity: Using the TYPE Command 1.Open a Command Prompt window 2.Change to the root of the C: Drive 3.Clear the screen 4.Display the contents of the batch file called “cleardisks.bat” located on the Z Drive in the “ctec110” directory 5.Snapshot the screen results and save.

6 1. Clear the screen 2. Setup your usb drive for the activities 3. Setup your activities disk for Session 6 usage (setdisks.bat z 6) 4. Change to the root of the P: Drive 5. Copy the file “name.bat” to the O: Drive 2-D Activity: Using the COPY Command

7 6. Copy the “name.bat” file to the O: Drive renaming it to “autobak” 7. Combine the files exp01feb.dta and exp02feb.dta and save the result to the O: Drive as “test.add” 8. Combine “all” the files beginning with “exp” and save the results to the O: Drive as “tests.add” 9. Snapshot the screen results and save. 2-D Activity: Using the COPY Command

8 1.Clear the screen 2.Change to the root of the O: Drive 3.Delete the file “name.bat” 4.Erase “all” the files beginning with “test” 5.Now Delete all the remaining files on this drive 6.Display what files may remain 7.Snapshot the screen results and save. 2-E Activity: Using the DEL Command

9 Lab 2 Assignments (13 slides)CTEC 1109 1. Clear the screen 2. Setup your usb drive for the activities 3. Setup your activities disk for Session 6 (setdisks.bat z 6) 4. Change to the root of the O: Drive 2-F Activity: Using TYPE and COPY together

10 Lab 2 Assignments (13 slides)CTEC 11010 5.Display the contents of the file “MERCURY.TXT” 6.Display the contents of the file “VENUS.TXT” 7.Combine the contents of both files and place the result in the file “FILE1” 8.Display the contents of the file “FILE1” 9.Snapshot the screen results and save. 2-F Activity: Using TYPE and COPY together

11 1.Clear the screen 2.Change to the root of the O: Drive 3.MD TRIP 4.COPY G:\WUGXP\MEDIA\TV 5.COPY G:\WUGXP\*.99 TRIP 6.COPY G:\WUGXP\*.JAZ TRIP 2-G Activity: Using the RENAME Command

12 7.TYPE COMEDY.TV 8.REN COMEDY.TV FUNNY.TV 9.DIR COMEDY.TV 10.DIR FUNNY.TV 11.TYPE FUNNY.TV 12.DIR TRIP\GREEN.JAZ 2-G Activity: Using the RENAME Command

13 13.REN TRIP\GREEN.JAZ TRIP\RED.JAZ 14.REN TRIP\GREEN.JAZ RED.JAZ 15.DIR TRIP\*.JAZ 16.Snapshot the screen results and save. 17.After you are satisfied with all the DOS Lab activity results email all the results to your instructor as one message with attachments. 2-G Activity: Using the RENAME Command


Download ppt "Lab Assignment 2 Common DOS Commands. Submitting the LABS for grading Subject line of email message: CTEC 110 WA Lab 2 Assignments Attachment file names:"

Similar presentations


Ads by Google