I’m looking to startup a couple of program from one batch file with just one click.
ie Start Folding SMP client then open FahMon from the desktop.
From online help and using the Folding SMP install.bat as a template, would the following work?
@echo off
cd "C:\Program Files\FahMon"
fahmon.exe
cd "C:\Program Files\Folding"
fah.exe -forceasm
Would that open both then let Fah have the cmd window to display all it’s stuff? And how can I add a 10 second wait before the Folding client starts so FahMon can get sorted?
I searched around on a related issue and found a solution… just found it again for you.
SUCCESS!
I downloaded this program:
ftp://ftp.sac.sk/pub/sac/utiltask/sleep_47.zip
Extracted the zip file and copied SLEEP.EXE to the floppy.
Then I could add the line
SLEEP FOR 5
There were other solutions using the ping command but this seemed the best way of dealing with it for me
well i guess if you full path it ie c:\odds\sleep.exe you could put it anywhere, i’m not sure where vista will naturally look if you don’t specify a path and i’m on a XP rig here so I can’t really look for you.
Even Vista still has the CHOICE command: CHOICE /D Y /N /T 10 >nul: would do it (the redirect stops it displaying a “Y” when it times out). You also have the option to press “Y” or “N” to end the delay immediately.