|
Answer» is it possible to call a success or fail after installing a program from the .bat file? Here is a sample of what I have so far:
echo off echo Installing Random Filename call random file name
Is there a WAY to have it report success or fail for that random filename installation?The program you are CALLING would have to set an error level after installing. At which point you can then use the %errorlevel% variable to determine success or failure. How could I determine if a specifc program would set an error CODE? Is it program specific? I will be using this to call more than one prigrma for installation if that helps any.Well I could think of two logical ways to determine that. 1) Run the program from the batch file and then echo the errorlevel variable to the screen. 2) Read the manual for the program!OK, thanks
|