I'm not sure what you mean. You want to use the built-in Shell function?
The Shell function also accepts command lines.Code:Shell "C:\prog.exe", vbNormalFocus DoEvents 'anything below the DoEvents will be processed 'after the application has fully loaded
Code:Shell "Notepad.exe C:\Autoexec.bat", vbNormalFocus




Reply With Quote