Jdemmer
Have you tried WinExec Api Call?
It's worked for me in the past, when I didn't want the D.O.S. window to pop-flash:
#DEFINE SW_HIDE 0
#DEFINE SW_SHOWNORMAL 1
#DEFINE SW_SHOWMINIMIZED 2
#DEFINE SW_SHOWMAXIMIZED 3
#DEFINE SW_SHOWNOACTIVATE 4
#DEFINE SW_SHOW 5
#DEFINE SW_MINIMIZE 6
#DEFINE SW_SHOWMINNOACTIVE 7
#DEFINE SW_SHOWNA 8
#DEFINE SW_RESTORE 9
#DEFINE SW_SHOWDEFAULT 10
DECLARE INTEGER WinExec IN kernel32;
STRING lpCmdLine,;
INTEGER nCmdShow
lpCmdLine="YourCommand.Bat"
** or whatever
? WinExec (lpCmdLine, SW_SHOWMINNOACTIVE)
** Minimized and not activated, runs in the background
This was an example. It worked for me using SW__SHOWMINNOACTIVE
Acknowledgement:
By the way, this is site I allways recommend.