Question: Using Windows Command Line create a folder on your desktop called Desktop Folder, inside that folder create three more folders call 1, 2 and 3.

Using Windows Command Line create a folder on your desktop called "Desktop Folder", inside that folder create three more folders call "1", "2" and "3".

Task 1: Store a hostname in a test file called "hostname.txt" in folder "1".

Task 2: Store a structure of files in C:\ drive in file called "c_files_structure.txt" in folder "2". (Tips: You have to use "dir" command).

Task 3: Move folders "1" and "2" with their content to folder "3".

Task 4:

1) What is the purpose of the Path command? 2) Write a Batch script that checks if path given as a parameter exists. If it does, then it should print a message to the user informing about the result, if it doesn't then it should create it and inform user that it has been created successfully.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!