Created an extensive batch script program to handle some automated file management and printing and I need to call a vbs file for its sendkeys operation. Is there a way to accomplish this without freezing the program?
I've tried START /WAIT my.vbs
and the script freezes when it enters the .vbs
Anyone have other methods or switches you would recommend?
I would like it to run silently if at all possible, and i need the /WAIT
switch because I need the sendkeys
operation to complete prior to the next step in the batch file.
Instead of using START /WAIT my.vbs
you could try using cscript //NoLogo //B my.vbs
. You can also pass other options to cscript that way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With