- Thread Author
- #1
I'm having to create a set of batch files for a class. My instructor is no help. I have included the assignment. Is there anyone out there who can help me?
1. Create a batch file called DD.BAT. This batch file should display the files on the root of the HOMEWORK drive in date order with the most current date displayed first, and should pause so that the user may view the display one screen at a time.
2. Document DD.BAT. Remember to include your name, the name of the batch file, and then date as part of the documentation.
3. Create a batch file called SD.BAT that will display subdirectories only, in order by name, on the root of the S drive. (Use the TREE command)
4. Document the batch file. Remember to include your name, the name of the batch file, and then date as part of the documentation.
5. Create a batch file that will list the directory on the H: drive, shows you all hidden files on the S: drive and then deletes all .txt files on the E: drive. Be sure to name the batch file something appropriate and document it fully.
6. Create a batch file that will look for all instances of “or” in the all.spt file on the H: drive, then sorts in reverse alphabetical order and saves this list in a file called Teams.TMS under the sports folder.
Name the batch file or.bat and document it fully.
7. Copy all files with the .TXT extension from the WUGXP subdirectory to the root directory of the H drive. (Overwrite existing files.)
8. Create a batch file named EXTRA.BAT that will do the following:
9. Document the batch file. Remember to include your name, the name of the batch file, and then date as part of the documentation.
1. Create a batch file called DD.BAT. This batch file should display the files on the root of the HOMEWORK drive in date order with the most current date displayed first, and should pause so that the user may view the display one screen at a time.
2. Document DD.BAT. Remember to include your name, the name of the batch file, and then date as part of the documentation.
3. Create a batch file called SD.BAT that will display subdirectories only, in order by name, on the root of the S drive. (Use the TREE command)
4. Document the batch file. Remember to include your name, the name of the batch file, and then date as part of the documentation.
5. Create a batch file that will list the directory on the H: drive, shows you all hidden files on the S: drive and then deletes all .txt files on the E: drive. Be sure to name the batch file something appropriate and document it fully.
6. Create a batch file that will look for all instances of “or” in the all.spt file on the H: drive, then sorts in reverse alphabetical order and saves this list in a file called Teams.TMS under the sports folder.
Name the batch file or.bat and document it fully.
7. Copy all files with the .TXT extension from the WUGXP subdirectory to the root directory of the H drive. (Overwrite existing files.)
8. Create a batch file named EXTRA.BAT that will do the following:
- Clear the screen
- Display the root directory the H drive for any file that has .TXT as a file extension
- Make a copy of the file called BORN.TXT and call the copy BIRTH.STR.
- Give the user time to read the file.
- Erase the file called BIRTH.STR
9. Document the batch file. Remember to include your name, the name of the batch file, and then date as part of the documentation.