Answered step by step
Verified Expert Solution
Link Copied!

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.

  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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions