Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help with the following Batch file A file with the .bat extension is called a batch file. You can use a batch file to
Please help with the following
Batch file
A file with the .bat extension is called a batch file. You can use a batch file to execute a group of commands from command prompt.
- Using a command prompt window, copy the files from the Documents folder to a folder named \Save on a USB flash drive . Dont include subfolders.
- Using Notepad or Textpad, create a batch file named MyBatch.bat on the USB flash drive that contains the commands to do the following:
- Create the C:\Data folder and a subfolder named C:\Data\Documents.
- Copy all files in your \Save folder to the C:\Data\Documents folder
- List the contents of the C:\Data\Documents folder.
- Using a command prompt window, execute the MyBatch.bat file and fix any problems you see.
What happens when you execute the batch file and the C:\Data\Documents folder already exists?
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