In: Computer Science
6. Complete each of the following from W:\ , with a
single command:
a. Copy WUGXP\MEDIA\TV from C: to W:\ .
Screenshot the command and syntax that you used.
b. Change the name of the COMEDY.TV file to FUNNY.TV.
Screenshot the command and syntax that you used.
c. Use a command that will view the contents of FUNNY.TV
Screenshot the command and syntax that you used.
7. From the root of this assignment’s default drive, using a single
command for each:
a. Copy all of the files with the .JAZ extension from C:\WUGXP to
the TRIP subdirectory on the W:
Screenshot the command and syntax that you used.
b. Change the name GREEN.JAZ file, which is in the TRIP folder, to
RED.JAZ
Leave the renamed file in the original location. Confirm your
command worked.
Screenshot the command and syntax that you used.
6. Complete each of the following from W:\ , with a single command:
NOTE:- In My System there was not a drive named with (W) so i have run all the commands from (D) Drive Don't worry just replace (W) with (D) as per question
(A) Copy WUGXP\MEDIA\TV from C: to W:\
in this we use /E for copy all the sub directory or files in the folder
(B) Change the name of the COMEDY.TV file to FUNNY.TV.
In this we can use ren or rename both for renaming the file
(C) Use a command that will view the contents of FUNNY.TV
In this we use type command to view the content of a file
7. From the root of this assignment’s default drive, using a single command for each assume if your default drive is G
NOTE:- In My System there was not a drive named with (W) so i have run all the commands from (D) Drive Don't worry just replace (W) with (D) as per question
(A) Copy all of the files with the .JAZ extension from C:\WUGXP to the TRIP subdirectory on the W:
In this we use *.JAZ which copy all the file with extension .JAZ
(B) Change the name GREEN.JAZ file, which is in the TRIP folder, to RED.JAZ
To confirm the above command we list the files of that location
NOTE- If you have any doubt write it in comment section
Make sure to hit the like button if you find this helpful for you THANK YOU AND HAPPY LEARNING!!