Answered step by step
Verified Expert Solution
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
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
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