0% found this document useful (0 votes)
102 views

Attempt

The document provides instructions for performing various commands in a command prompt to manage files on a flash drive. It involves using commands like dir, type, more, sort, find, echo, copy, and del to view file listings, search files contents, redirect input/output, append files, copy files, and delete files. The key commands entered include dir /s *.xls to list Excel files, type Accounts.txt | more to view a file one page at a time, find "Summary" Accounts.txt to search a file, echo >> Accounts.txt to append lines, and ren Accounts.txt OldAccounts.txt to rename a file.

Uploaded by

Romeydome
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views

Attempt

The document provides instructions for performing various commands in a command prompt to manage files on a flash drive. It involves using commands like dir, type, more, sort, find, echo, copy, and del to view file listings, search files contents, redirect input/output, append files, copy files, and delete files. The key commands entered include dir /s *.xls to list Excel files, type Accounts.txt | more to view a file one page at a time, find "Summary" Accounts.txt to search a file, echo >> Accounts.txt to append lines, and ren Accounts.txt OldAccounts.txt to rename a file.

Uploaded by

Romeydome
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Open a command prompt and change to your flash drive.

(No response needed)

2. Display a directory listing of all files that contain the .xls file extension. What command did you enter to perform this operation?

3. After you have verified that this command selects just files with the .xls file extension recall the previous command and redirect the output to a file on your USB called Accounts.txt. What command did you enter to perform this operation?

4. Use the TYPE command to view the contents of this file, and page the output one screen or window at a time with the MORE filter. What did you key in to accomplish this?

5. Redirect input from the Accounts.txt file on your USB to the SORT filter, and page the output one screen or widow at a time with the MORE filter. What did you key in to accomplish this? (View the remainder of the output and return to the command prompt.)

6. use the FIND filter to search the Accounts.txt file for files that include the word Summary in the filename. What command(s) did you use to accomplish this? What are the names of the files located by the FIND filter?

7. use the ECHO command and the append output redirection operator to add two blank lines to the bottom of the Accounts.txt file. What command(s) did you enter to perform this operation?

8. Display a directory listing of all files with the .wk4 file extension in alphabetical order by filename. How did you accomplish this?

9. Recall the previous command, and append the output to the bottom of the Accounts.txt file. What command(s) did you enter?

10. Rename Accounts.txt to OldAccounts.txt. How did you accomplish this? Ren Accounts.txt OldAccounts.txt, I just used that command. 11. Create a copy of the OldAccounts.txt file, and name it ExOldAccounts.txt. What command(s) did you use to accomplish this? The copy command and then the dir command to confirm the file was copied. copy OldAccounts.txt ExOldAccounts 12. Delete the OldAccounts.txt from your flash device. What command(s) did you use? The DEL command, I typed DEL OldAccounts.txt

You might also like