Question: write out the appropriate commands for each step using CMD 1, Create a new file named, Work1.txt , in the directory HW1a , with the
write out the appropriate commands for each step using CMD
1, Create a new file named, Work1.txt, in the directory HW1a, with the use of the ECHO
command with the following sentence
2, Copy the file Work1.txt from directory HW1a to directory HW1aa.
3, Rename the copied file Work1.txt in directory HW1aa to Work2.txt
4, Move the directory HW1aaa to the directory HW1a and rename it HW1ab
5,Move the file Work1.txt from directory HW1a to directory HW1aa
6, Copy both files Work1.txt and Work2.txt from directory HW1aa to directory HW1ab
7, Replace both files Work1.txt and Work2.txt from directory HW1aa to directory HW1ab
8, Compare the file Work1.txt in directory HW1aa with the file Work2.txt in directory HW1ab
9, Find the text CMD in the files in the directory HW1a and all of its subdirectories. Ignore
case and list line number of the location of the text.
10, Use the WHERE command to locate any .jpg or .jpeg file in your computer and copy one of
those .jpg/.jpeg file to the directory HW1a.
11, View the attributes of the newly copied .jpg/.jpeg file in directory HW1a.
12, Add the Read-Only attribute to the newly copied .jpg/.jpeg file in directory HW1a.
13, Compress the newly copied .jpg/.jpeg file in directory HW1a.
14, Add the Change (Write) permission to the builtin\users account to the newly copied .jpg/.jpeg
file in directory HW1a.
15, Change the ownership to the Administrator Groups for the newly copied .jpg/.jpeg file in
directory HW1a.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
