Question: 7. [11] For this exam question, write down all the commands to do the following steps (except for step (A)) using the Windows command prompt
7. [11] For this exam question, write down all the commands to do the following steps (except for step (A)) using the Windows command prompt, in the order shown, in the text box below. Take screenshots as directed.
A. Using the Windows GUI, create a Notepad file in your C: drives root directory using the name your friends call you as the file name (e.g. Kenward, Susan, etc.). Take a screenshot of Windows File Explorer showing this file in the root directory.
B. Using the command prompt now, create a directory called XXdir (you must replace XX with your own initials; for example, I would use KCdir since my name is Kenward Chin) inside your home directory (your home directory is the one which you start in when you open the command prompt; it is probably \Users\username). Remember to write down the commands you use for each step from here on remember that in some of the steps, there will be more than one command!
C. Copy the file that you made in step (A) from the root directory to the XXdir you made in step (B). When you read XXdir in the rest of these steps, understand it to mean the directory you made in step (B).
D. Rename the copied file in XXdir to A13.txt.
E. Create two subdirectories inside XXdir, called dir1 and dir2. (Note: dir2 should be a subfolder of XXdir, not a subfolder of dir1.)
F. Put a copy of A13.txt in dir1.
G. Put two copies of A13.txt into dir2, using names B13.txt and C13.txt.
H. Change your directory to the XXdir directory, and do tree /f to show what you have done so far. Take a screenshot.
I. Move B13.txt and C13.txt from dir2 to dir1.
J. Remove directory dir2. (This may involve more than one command.)
K. Change your directory to the XXdir directory, and do tree /f to show the files and directories you have created. Take a screenshot.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
