Page 1 of 1

Image 4 Windows - Batch file WRONG

Posted: Sun Mar 31, 2024 1:33 pm
by BriComp
The /WAIT command is in the wrong place and IS NOT functional.
As presented by Terrabyte:
start "" "C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\imagew64.exe" /wait /b /d:w1 /f:"\\sserver\d\Tom\Drive H Backup-w1-$~YYYY$-$~MM$-$~DD$-$~HHMM$"
Needs changing to:
start /WAIT "" "C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\imagew64.exe" /b /d:w1 /f:"\\sserver\d\Tom\Drive H Backup-w1-$~YYYY$-$~MM$-$~DD$-$~HHMM$"
i.e. the /WAIT needs to be at the beginning of the start command stream, otherwise it is ignored and no wait occurs.

Re: Image 4 Windows - Batch file WRONG

Posted: Sun Mar 31, 2024 6:48 pm
by TeraByte Support
It's not wrong, it's an option in IFW to wait for any prior running process to stop before it continues.

Re: Image 4 Windows - Batch file WRONG

Posted: Mon Apr 01, 2024 4:17 pm
by BriComp
I know what it is for AND IT IS WRONG.
As used by IFW it is ignored by windows (as I said wrote).
The only way to get Windows to recognise it is to have it immediately after start as in start /WAIT "" C:\Programs.....
Try it if you don't believe me, it will only take a few minutes.

Re: Image 4 Windows - Batch file WRONG

Posted: Mon Apr 01, 2024 8:30 pm
by tas3086
In the above ecamples, the /WAIT is a start option, and the /wait is an imagew64 option. You can use both at the same time, and they both do completely different things.