Computing.Net > Forums > Programming > Batch to prompt for a certain time?

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.

Batch to prompt for a certain time?

Reply to Message Icon

Name: Geralds Mod
Date: November 17, 2007 at 19:31:16 Pacific
OS: win xp
CPU/Ram: centrinio duo
Product: dell inspinion e1505
Comment:

I know how to make a batch prompt.

it's this:
set input=
set /p input=
if %input%==blank goto blank
if %input%==example goto example

This just makes the batch wait forever for a answer.

How do you make it wait for a certain amount of time?



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: November 17, 2007 at 20:28:29 Pacific
Reply:

Use CHOICE


=====================================
If at first you don't succeed, you're about average.

M2



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch to prompt for a certain time?

Need program to scan for a file ..... www.computing.net/answers/programming/need-program-to-scan-for-a-file-/19026.html

Scripts to search for a text in a view source www.computing.net/answers/programming/scripts-to-search-for-a-text-in-a-view-source/19961.html

Date question for a batch www.computing.net/answers/programming/date-question-for-a-batch/16789.html