I would like to know if it is possible in Win98 SE, from a batch file,
to simulate pressing an "ok" prompt. I have a batch file that calls an
executable (of which I don't have the source file) that processes a
file and produces another file as a result. At the end of the process,
a feedback window is produces, that says "file blahblah has been
successfully created", and pressing an "Ok" button is the only way to
get rid of the window.
As I need to repeat this process a high number of times in batch mode,
without user interaction, I need to find a way to get rid of the ok
button. I have checked the executable parameters, but unfortunately
there is no parameter to skip the final ok prompt.
Thanks for any help,
Giampaolo Costantini
Parma Italy
This depends on the used program. Use Google to search in alt.msdos.batch
and alt.msdos.batch.nt for older answers to this question.
Did you try:
defrag /noprompt c: