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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started