Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch File or similar to run exe silently

Status
Not open for further replies.

jdunderhill

Technical User
Nov 25, 2002
223
GB
Hi there

I am trying to create a batch file that will load an exe and then simulate the click of the ok button on the window that pops up after you launch that exe

Basically the exe is a fix for Mail recipient in office 97 and simply is a program that applies the fix but asks you to select ok before it is applied

I wanted to automate the ok part so it is completely automatic when I log on e.g the batch file will launch the exe and then ok the window that comes up

Just wondered if anyone has any suggestions if this is possible to do?

Cheers

Jamie
 
What's the exact exe? Have you tried running it from a command prompt with /? to see if there are any command line switches, such as suppressing prompting?
 
Hi

Cheers for your help, I have managed to make a good working batch file using the sendkey options and utilising a bit of vbscript

Cheers

Jamie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top