REM This is the answer to the Another Batch File batch programming Lab. REM ================== REM Another Batch File REM ================== REM idallen@ncf.ca REM REM Write a batch file that does this: REM REM 1) Has your name and Algonquin email userid as a comment at the start. rem Ian Allen alleni@algonquincollege.com REM 2) Makes the C: drive the currently "logged in" drive. C: REM 3) Changes to the directory COMMAND under WINDOWS on your C: drive. CD \windows\command REM 4) Generates a directory listing of *only* the batch files REM in this directory and redirects the output to file DIROUT on your C: REM drive. Use the shortest pathname for the files. DIR *.bat >\DIROUT REM NOTES: REM REM - You need to know how to make a drive the currently "logged in" drive. REM (This is new.) REM REM - You need to know how to use a wildcard to select *only* batch REM files. (Look up "wildcard" in the index of your Windows 95 textbook. REM Wildcard characters also work under DOS.)