Help With Batch Files

Psychobob777

New Member
Hey everyone, can someone help me write a batch file? its for school and i cant seem to get it right.

I have to write a DOS batch file with these instructions:

1. Enter the command to turn the display off.
2. Enter the command to clear the screen.
3. Enter a remark stating your name and section number.
4. Enter the command to display a statement making sure the printer is on.
5. Enter the commands to enter 3 blank lines.
6. Enter the command to halt the program temporarily.
7. Enter the command to do a directory listing.
 
im rusty but checked.
goto google and query dos commands.
its loaded with information. I forgot.
then if you have a problem then maybe
i can help. ive created many years ago.
been a long time.
 
1. @echo off anything beginning with @ is not displayed on the screen
2. cls this command wipes the screen clear
3. rem or :: anything beginning with this will not be read
4. not sure i have only known about batch files for a few days
5. type echo. on three seperate lines, they will appear blank
6. pause this will ask you to press any key to continue
7.dir will list all directories to the current working directory
 
Back
Top