Hi
I have this batch file :
sleep 60
cd D:\PM10\DEBUG\
START CEMeasAvg.exe 127.0.0.1 D:\PM10\Ce_LHC8.txt
Is it possible to write it in-line, something like ?
D:\PM10\DEBUG\START CEMeasAvg.exe 127.0.0.1 D:\PM10\Ce_LHC8.txt /T,60
In fact, I just want to postponed of 60 seconds, the process startup.
Thanks
Yoann
In line command (Processus startup postponed)
Moderator: DosItHelp
Re: In line command (Processus startup postponed)
Code: Select all
@sleep 60 && D:\PM10\DEBUG\START D:\PM10\DEBUG\CEMeasAvg.exe 127.0.0.1 D:\PM10\Ce_LHC8.txt
Is this it?
Saso
Re: In line command (Processus startup postponed)
I have just try to lauch excel with a 60 seconds delay but it returns me :
C:\program Files\Microsoft Office\Office12>@sleep 60 && excel.exe
'sleep' is not recognized aas an internal or external command,
operable program or batch file.
Is there anothere way ?
Thanks for your answer
Yoann
C:\program Files\Microsoft Office\Office12>@sleep 60 && excel.exe
'sleep' is not recognized aas an internal or external command,
operable program or batch file.
Is there anothere way ?
Thanks for your answer
Yoann
Re: In line command (Processus startup postponed)
Do you really have a SLEEP command? It's not native batch.
Without sleep:
If sleep is available for you:
Regards
aGerman
Without sleep:
Code: Select all
START "" "D:\PM10\DEBUG\CEMeasAvg.exe" 127.0.0.1 "D:\PM10\Ce_LHC8.txt"
If sleep is available for you:
Code: Select all
sleep 60&START "" "D:\PM10\DEBUG\CEMeasAvg.exe" 127.0.0.1 "D:\PM10\Ce_LHC8.txt"
Regards
aGerman