Writing text on success in a batch file
Hi , I am running a basic batch file that declare the errorlevel at the end of the command . I would like to have a text instead 1 or 0 (failure or success), Do you know how ??? Maybe instead the %errorlevel% ?? THE BATCH FILE : DTEXEC /FILE "M:\SSISProjects\DWH\ALM_DAILY\WMFD2537.dtsx " /DECRYPT 1234 /CONFIGFILE "M:\SSISProjects\DWH\ALM_DAILY\ALM_Daily_COMMON_Config.dtsConfig" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING EWCDI > M:\SSISProjects\DWH\ALM_DAILY\ECSYSOUT\ALM_DAILY_2537.txt echo %errorlevel% Thanks from advance , David .
March 29th, 2011 12:19pm

IF ERRORLEVEL==1 ECHO Failure ECHO Success Computer Hope (Batch Files) Rob van der Woude's Site Talk to me now on
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2011 12:26pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics