Question: Provide a script that performs the following tasks exactly in the specified order (include the first command exactly as provided): 0. ipconfig | findstr /C:Address
Provide a script that performs the following tasks exactly in the specified order (include the first command exactly as provided):
0. ipconfig | findstr /C:Address
1. Create a new directory named ACO350
2. Change the current directory to ACO350
3. Create the following files (echo > fileName): hw1.txt, hw2.txt, hw3.txt, hw4.doc, hw5.doc
4. Delete hw3.txt
5. List all the files with extension txt in the current directory
This is what I have to do and this is what I have so far
@echo on cls
ipconfig | findstr /C:Address
mkdir ACO350
cd ACO350
mkdir (echo > fileName): hw1.txt, hw2.txt, hw3.txt, hw4.doc, hw5.doc
del hw3.txt
dir ACO350
pause
Its creating the files but I cannot get it to delete hw3.txt and display all of the files of ACO350 at the end.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
