|
Answer» Hello, I'm writing a batch script on windows, where i'm PERFORMING the FOLLOWING:
CALL abc.exe call def.exe
After it runs the abc.exe, i get a message "Press any key to continue", and only after the key is pressed, it executes the def.exe. How do i get rid of the "Press any key to continue" after abc.exe?
Regards, MilindThe "Press any key to continue" message is generated by a pause statement in batch. You don't have one, so I'm THINKING the abc program is PUTTING out the message.
You might try piping a key into the abc program:
Code: [Select]echo. | abc def
No guarantees, but stranger things have worked!
FWIW: call is used to tranfer control to other batch files with the expectation of returning to the original batch file (the caller). It's not necessary when running exe files.
|