Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Create a batch file that, when run, will use three parameters: the names of three files. The first two files will be checked to

image text in transcribed

2. Create a batch file that, when run, will use three parameters: the names of three files. The first two files will be checked to see if they exist. The third file will have information written to it. - Do the following for each of the first two files: - If the file exists in the Files directory: - Echo a message that states that it exists. - Write the file name to the third file. - Write the file contents to the third file. - If the file does not exist in the Files directory: - Echo a message that states that it does not exist. - Write the above message to the third file. - When done, test the batch file with the following as parameters: c145.txt, a58.txt and a new

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

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

Students also viewed these Databases questions

Question

What are all the ways you count or measure customer complaints?

Answered: 1 week ago