New
#1
Start a program from a batch file
4 Apps of mine run a batch file that -tries- to call/start and EXE program. These Batch files need to work with OS XP thru Win 10. Win 10 has a pop-up window asking user if its okay to run/execute my EXE. No other Win version does this and thus I suspect a timing problem.
Here is a few lines from my BAT file:
I have tried the following but will this work on older OS versions?Code:if %WinVer%-5.0 LSS 0.0 (pause) else (timeout /t 8) call %od-tools%\base4DOS.exe /openLF %FCname% %od-user% %FCexit% > nul @echo off
This doesn't work either. Any suggestions?Code:start /wait "" "%od-tools%\base4DOS.exe" /openLF %FCname% %od-user% %FCexit% > nul
Thanks, Phil