Question: 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.

  1. 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.
  2. Using Notepad or Textpad, create a batch file named MyBatch.bat on the USB flash drive that contains the commands to do the following:
  1. Create the C:\Data folder and a subfolder named C:\Data\Documents.
  2. Copy all files in your \Save folder to the C:\Data\Documents folder
  3. List the contents of the C:\Data\Documents folder.
  1. 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

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!