Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Below you have the following directory structure. At the top there is the root directory denoted by a backslash V. CLASSES, DOS, WINDOWS, BOOK,

image text in transcribed

image text in transcribed

2. Below you have the following directory structure. At the top there is the root directory denoted by a backslash "V". CLASSES, DOS, WINDOWS, BOOK, FINANCE, etc. are the names of subdirectories residing under the root directory; CONFIG.SYS and AUTOEXEC.BAT are the names of the files residing in the root directory, and chkdsk.exe, CHAPTERI.DOC, Q.EXE, etc. are the names of the files stored in the subdirectories. The system prompt displays "C:1>" which means that the current/default drive is C and the current/default directory is the root directory". The root directory "" is just the origin for other directories/subdirectories. Remember to separate the commands and operands/parameters by at least one space. root CONFIG.SYS AUTOEXEC.BAT CLASSES WINDOWS BOOK FINANCE DOS - chkdsk.exe format.exe shell.com etc. CS211 CS617 3RD EDITION CHAPTER 1.DOC CHAPTER2.DOC CHAPTER3.DOC etc. 4TH EDITION QUICKEN CHAPTER1.DOC BUDGET.FIN.EXE CHAPTER 2.DOC PERSONAL FINAN.Q CHAPTER3.DOC etc. BACKUP.Q - etc. Fetc. All questions (a) through () are based on the above directory diagram. For questions (a) through (t) assume the prompt "C:\>" is displayed. (a) Write a command to copy file AUTOEXEC.BAT to directory DOS. The copied file should have the same name as the original file, i.e., AUTOEXEC.BAT. (b) Write a command to copy a file AUTOEXEC.BAT to directory 3RD EDITION The copied file should have new name AUTOEXECI.BAT. (c) Write a single command to copy all files whose names start with letter from directory 3RD EDITION to directory FINANCE. (d) Write a single command to erase from directory 3RD EDITION all files whose names start with letter C. (e) How many files would be erased by the command from p. (d) above? (1) Assume that CONFIG.SYS is a large file. What command would you use to display the contents of the file one screen at a time (to prevent the output from scrolling off the screen)? (9) Look at the diagram. Assume that prompt "C:\FINANCE QUICKEN>" is displayed, meaning that the current/default drive is C and the current/default directory is FINANCE QUICKEN. Write two separate SORT commands. Each of the two commands would accept input from file FINAN.Q. However, the first command would route the output to file FINANI.Q, and the second one would append the output to file FINAN2 (h) Look at the diagram. Assume that prompt "C:\FINANCE QUICKEN>" is displayed. Write the command which would change the current directory to FINANCE. (1) Look at the diagram. Assume that prompt "C:\BOOK>" is displayed. In the space provided, sketch the directory structure with the subdirectory and file names which would command TREE /F generate. 6) Now assume that the "C:\>"prompt is displayed. Describe what a command DIR | SORT/R > SavedDir would do

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

More Books

Students also viewed these Databases questions

Question

04 Identify and document essential job functions for positions.

Answered: 1 week ago