Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
pause duration at end of batch
Name: JimW Date: August 12, 2002 at 19:22:26 Pacific
Comment:
At the end of my small batch file, I have inserted "cls" and "Exit" The batch file closes so fast at the end of its function that I hardly even see it open in the first place. Is there a command to pause for about 5 seconds before returning to windows just long enough to see...for example...the line.."copy successful"???? thanks ...JimW
Name: NULL Date: August 12, 2002 at 19:39:46 Pacific
Reply:
Include the following code on the last line of your batch file:
choice /N /T:N,5>NUL
0
Response Number 2
Name: NULL Date: August 12, 2002 at 19:43:30 Pacific
Reply:
Just forgot to tell that it must be inserted before cls and exit
choice /N /T:N,5>NUL cls exit
0
Response Number 3
Name: JimW Date: August 13, 2002 at 05:35:51 Pacific
Reply:
Null, Thanks for response. I'll try this right away. Most of the instructional material on Batch files is written well above novice level. Most witers assume people writing batch files are more familiar with the language and not just wanting to learn. Thanks again JimW
Summary: Hello, My question: Using Textstream Object reading an ASCII file with ReadLine method, how do you tell if you are at end of file?? Thanks for any help... ...
Summary: Hi, Thanks a lot for your response !! Actually command is adding the text at the start of all the line. What is the option to append at end of the lines ? Thanks a lot, Deepesh ...
Summary: Hey, I'm not completely sure were to post this. A while back I purchased a copy of Visual Basic 6.0 (not sure were from) really cheap. I tested it for the first time yesterday. I made a menu (Doesn't...