Note: A file name with a .bat file extension is called a batch file. You can use a batch file to execute a group of commands, sometimes called a script, from a command prompt. Do the following in order to learn to use a batch file: 1) Using a command prompt window, copy a file in your My Document folder to a folder named \Save on a USB flash drive. Do not include subfolders in the copy. 2) Using Notepad, 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 subfolder named C:\Data\Documents. Copy all the files in your \Save folder to the C:\Data\Documents folder. List the contents of the C:\Data\Documents folder. 3) 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?
Note: A file name with a .bat file extension is called a batch file. You can use a batch file to execute a group of commands, sometimes called a script, from a command prompt. Do the following in order to learn to use a batch file:
1) Using a command prompt window, copy a file in your My Document folder to a folder named \Save on a USB flash drive. Do not include subfolders in the copy.
2) Using Notepad, 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 subfolder named C:\Data\Documents.
- Copy all the files in your \Save folder to the C:\Data\Documents folder.
- List the contents of the C:\Data\Documents folder.
3) 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?

Trending now
This is a popular solution!
Step by step
Solved in 4 steps









