|
@echo off
Signtool sign /v /ac "c:\verisign\VeriSign Class 3 Public Primary Certification Authority - G5.cer" /i Verisign /t http://timestamp.verisign.com/scripts/timestamp.dll %1
set SIGN_RESULT=%errorlevel%
if "%SIGN_RESULT%" == "0" goto SIGN_SUCCESS
echo FAILED signing of %1
got EXIT_SIGNFILE
:SIGN_SUCCESS
echo %1 signed
goto EXIT_SIGNFILE
:EXIT_SIGNFILE
exit /B %SIGN_RESULT%
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Joe is a Sr. Software Engineer for Seagate Technology. He greatly enjoys practical applications of C/C++ and problem solving in general. He and his family live in a wonderful spot of the world named Longmont, CO (USA).