Question

Open Command Prompt typing CMD command in your Search window. Change the directory from current to...

Open Command Prompt typing CMD command in your Search window.

Change the directory from current to root (C:).

Make a new directory called CIS165_Your Last Name (example: CIS165_Nossa).

Within this directory, make subdirectories called Can1 and Can2. Verify the created directory and subdirectories using particular command.

Under Can1 subdirectory creates three files called Jam.txt, Milk.txt and Juice.txt. Verify that you created these files using particular command.

Move Jam.txt file from the Can1 subdirectory to the Can2 folder.

Compare using special command that file Jam.txt was moved to the Can2 folder without losing any bits.

Copy simultaneously Milk.txt and Juice.txt to Can2 folder.

Compare using special command that file Milk.txt was moved to the Can2 folder without losing any bits.

Hide the Juice.txt file under the Can2 subdirectory. Verify that file is hidden.

       10.   Assign read only to the Milk.txt file under the Can2 folder.

11.   Delete the Can1 subdirectory.

12. Show the graphically structure on your CIS165_Nossa directory.

Show the steps how to do the CMD prompt and explainations.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. cd\ :- will change the the directory to \(root). "cd" command is used for changing the directory. here, "\" represents the root of the drive.
2. mkdir CIS165_lastName :- will create a directory with name CIS165_lastName in the current directory i.e. root.
3.

  • cd CIS165_lastName :- will change directory to CIS165_lastName directory present in the root directory.
  • mkdir can1 can2 :- will create multiple directories i.e. can1 and can2 in the CIS165_lastName. Hence, can1 and can2 are subdirectories of CIS165_lastName.

4.  

  • c.. :- will move to the parent directory of the current directory i.e CIS165_lastName to root.
  • dir CIS165_lastName :- (for verification)will display the list of all the subdirectories within the CIS165_lastName.
  • notepad CIS165_lastName\can1\Jam.txt :- will create the text file named Jam.txt in can1 subdirectory of CIS165_lastName.
  • notepad CIS165_lastName\can1\Milk.txt :- will create the text file named Milk.txt in can1 subdirectory of CIS165_lastName.
  • notepad CIS165_lastName\can1\Juice.txt :- will create the text file named Juice.txt in can1 subdirectory of CIS165_lastName.

5. move CIS165_lastName\can1\Jam.txt CIS165_lastName\can2 :- will move the Jam.txt from can1 to can2 directory.
6. comp CIS165_lastName\can1\Jam.txt CIS165_lastName\can2\Jam.txt :- will compare the Jam.txt present in can2.
7.

  • copy CIS165_lastName\can1\Milk.txt CIS165_lastName\can2 :- will copy the Milk.txt of can1 to can2 directory.
  • copy CIS165_lastName\can1\Juice.txt CIS165_lastName\can2 :- will copy the Juice.txt of can1 to can2 directory.

8. comp CIS165_lastName\can1\Milk.txt CIS165_lastName\can2\Milk.txt :- will compare the Milk.txt of can2 with the Milk.txt of can1 directory.
9.

  • attrib +h CIS165_lastName\can2\Juice.txt :- will be used to add "Hidden" attribute to the Juice.txt in the can2 directory.
  • cd CIS165_lastName :- will change directory to CIS165_lastName from root.
  • dir can2 :- (for verification) will show contents present in the can2. since juice.txt is hidden, it wont show.

10. attrib +r CIS165_lastName\can2\Milk.txt :- will add "read-only" attribute to the Milk.txt in the can2 directory.
11. rmdir /s CIS165_lastName/can1 :- will delete the can1 directory along with all the contents present in it.
12.  

  • cd CIS165_lastName :- will change directory to CIS165_lastName.
  • tree /f :- will show the graphical structure of CIS165_lastName directory along with its subdirecties and files.

outputs:

Add a comment
Know the answer?
Add Answer to:
Open Command Prompt typing CMD command in your Search window. Change the directory from current to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. Navigate to your home directory by typing cd. Now type ls and notice that there...

    1. Navigate to your home directory by typing cd. Now type ls and notice that there is a subdirectory called Downloads. Now navigate to the root of the file system by typing cd /. From here, which single command would you use to navigate directly to the Downloads folder that is located in your home directory? The output of the command would be as follows: 2. From the Downloads directory which single command would you use to navigate back up...

  • LINUX QUESTIONS (dont have to display output, I will be running these commands myself to check...

    LINUX QUESTIONS (dont have to display output, I will be running these commands myself to check the output) Display the command(s) used to do the following: create an empty file called history by using just a redirection operator. Verify and show. Show/verify all results (i.e., all commands and their corresponding outputs). Wait 1 minute or more and then display the command(s) used to do the following: change the timestamp on the history file you just created. Verify/display the change. Show/verify...

  • do numbers 4-8 4. Given any directory, use the Is command to display: • all files...

    do numbers 4-8 4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...

  • 1 Overview The goal of this assignment is to help you understand caches better. You are...

    1 Overview The goal of this assignment is to help you understand caches better. You are required to write a cache simulator using the C programming language. The programs have to run on iLab machines. We are providing real program memory traces as input to your cache simulator. The format and structure of the memory traces are described below. We will not give you improperly formatted files. You can assume all your input files will be in proper format as...

  • You need not run Python programs on a computer in solving the following problems. Place your...

    You need not run Python programs on a computer in solving the following problems. Place your answers into separate "text" files using the names indicated on each problem. Please create your text files using the same text editor that you use for your .py files. Answer submitted in another file format such as .doc, .pages, .rtf, or.pdf will lose least one point per problem! [1] 3 points Use file math.txt What is the precise output from the following code? bar...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT