Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

CertUtil exit codes

$
0
0
CertUtil always returns 0 as an exit code so you cannot use ERRORLEVEL construct for checking success or failure.However, one can check ERRORLEVEL environment variable.E.g. CERTUTIL something IF ERRORLEVEL 1 ECHO ErrorDoes not work. However, you can use: CERTUTIL something IF NOT %ERRORLEVEL%==0 ECHO Error

Viewing all articles
Browse latest Browse all 12198

Trending Articles