ATIH 2013 /WAIT Failure
Using ATI 2013 (v. 16.0.0.6682) configured for a full image followed by 3 incremental images. Win 7 Home 64 bit with roll-up on top of SP-1.
A full image is produced manually using the ATI GUI.
I normally run ATI using the following command in an unattended overnight batch where %SCRPT% contains the Script without the ending ".tib.tis":
- START "" /WAIT "C:\Program Files (x86)\Acronis\TrueImageHome\TrueImageLauncher.exe" /script:%SCRPT%
The problem is that /WAIT does NOT work and my batch continues without waiting for ATI to complete. I have developed a batch "band aid" which checks every 15 min. to see if ATI is still running but I would prefer to use the /WAIT.
Below is my "band aid" which enters the following in the batch window:
"ATI Running (Min): 5 10 15 5 10 15 5 10..."
- [previous batch commands]
- START "" /WAIT "C:\Program Files (x86)\Acronis\...
- ECHO | SET /P "dummy=ATI Running (Min): "
- :ATI_Running
- FOR /L %%t IN (5,5,15) DO (
- TIMEOUT 300 > NUL
- ECHO | SET /P "dummy=%%t "
- )
- TASKLIST /FI "IMAGENAME eq TrueImage.exe" 2> NUL|FINDSTR /I "TrueImage.exe" > NUL
- IF NOT ERRORLEVEL 1 GOTO ATI_Running
- [batch continues]
Anyone know of a solution to have /WAIT work for ATI as it does for all other uses on my PC?

- Se connecter pour poster des commentaires

Sorry but I left off two additional steps.
1. Make a batch file with the following commands to shut off TrueImage.exe:
- TASKKILL /IM TrueImage.exe /T
- EXIT
2. Add the batch file to your image settings as a Custom Post-Command.
Now when the image is completed TrueImage.exe will be closed (killed) and my "band-aid" will allow the original batch to continue. I have slightly modified my "band-aid" to better report in the command window what is happening:
- SET /A "_TTT=0"
- ECHO | SET /P "dummy=ATI Running (1/4 Hr)"
- :ATI_Running
- FOR /L %%t IN (5,5,15) DO (
- TIMEOUT 300 > NUL
- ECHO | SET /P "dummy=."
- )
- SET /A "_TTT=%_TTT%+1"
- ECHO | SET /P "dummy=%_TTT%"
- TASKLIST /FI "IMAGENAME eq TrueImage.exe" 2> NUL|FINDSTR /I "TrueImage.exe" > NUL
- IF NOT ERRORLEVEL 1 GOTO ATI_Running
The message has a shorter line and the numbers are elapsed 1/4 hours:
ATI Running (1/4 Hr)...1...2...3...4...5..
- Se connecter pour poster des commentaires