Is there a way to require the user of the batch file to input a certian text to continue on the in the program? then if it is correct do something, if it is wrong, do something else? Thanks in advance... :D
Printable View
Is there a way to require the user of the batch file to input a certian text to continue on the in the program? then if it is correct do something, if it is wrong, do something else? Thanks in advance... :D
The very definition of a batch file, is that the computer has no interaction with the user. Batch files are just for commands that the computer executes one after the other.. no user input is required.
chem
You want a shell script, not a batch file.
What shell are you using?
What do you mean, I decided to try something else... Look here
Are you using C++ for this app?
ummmm. look at the link... :P
There are a few programs (ask.com, number.com, input.com) that can be called from a batch file and they return a numeric result which can be tested as an error code.