Hi,
I have a .bat file consisting couple of actions /tasks ...
Rem Task 1: Using ImageX to deploy a image stored on USB .
Imagex /apply /U:\install.wim /index:3 D:\
Rem Task2 : Copy a folder from USB to D drive
xCopy U:\Temp D:\Temp2
Now I want to add some logic into the bat file, for example if a task is interrupted (maybe be source disk is not available or removed, like USB or network resources etc) or there is no folder with name Temp (for example), can I get a VB message box with saying something went wrong, start again _???
N.A.Malik