Windows Batch Script: IF THEN ELSE








ECHO TEST
IF %ERRORLEVEL% EQU 0 (
    ECHO success
) ELSE (
    ECHO failure
)



No comments:

Post a Comment