Computing.Net > Forums > Disk Operating System > Batch File Prompts

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 File Prompts

Reply to Message Icon

Name: mep
Date: September 17, 2003 at 12:25:09 Pacific
OS: Assortment
CPU/Ram: Not enough
Comment:

I am writing batch file that needs to respond to a generated prompt. For example, in my batch file I call

titerun -rp data.txt

Titerun requires the user to press any key to continue running. How can the batch file respond to the generated prompt.

Thanks,
mep



Sponsored Link
Ads by Google

Response Number 1
Name: JackG
Date: September 17, 2003 at 14:48:44 Pacific
Reply:

Something standard like:

titerun -rp data.txt <response

where "response" is a short text file with the keyboard character to respond with and a Carriage Return, or a multiline text file. Has always been the standard redirected Input/Output method for DOS and Batch files.
(Now trying to do this with a Windows application is a different issue.)


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 Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Batch File Prompts

Batch to prompt user for input www.computing.net/answers/dos/batch-to-prompt-user-for-input/2360.html

Inputing text string value in Batch file www.computing.net/answers/dos/inputing-text-string-value-in-batch-file/8851.html

Batch File: Commands/Prompts www.computing.net/answers/dos/batch-file-commandsprompts/2886.html