Monday, 15 August 2011

Batch file: Open cmd, run VS Command Prompt, execute Makecert -



Batch file: Open cmd, run VS Command Prompt, execute Makecert -

i need in batch file:

open cmd run vs command prompt via cmd execute command "makecert -sv signroot.pvk -cy authorization -r sha1 -a -n \"cn=certificate\" -ss -sr localmachine certificate.cer"

so far, i've done 1 , 2, problem getting #3.

here's have far.

start cmd.exe /k "%comspec% /c "c:\program files (x86)\microsoft visual studio 10.0\vc\vcvarsall.bat" x86"

this i've done open qt 5.0.2 command prompt vs2012 setup , own batch file run:

c:\windows\system32\cmd.exe /a /q /k c:\qt\qt5.0.2\5.0.2\msvc2012_64\bin\qtenv2.bat & phone call "c:\program files (x86)\microsoft visual studio 11.0\vc\vcvarsall.bat" x64 & cd c:\tkbt\launch2.0.0 & phone call setupenvvars.bat

drops me in right spot environment variables set up.

so reply question append next phone call after "&"

batch-file cmd makecert

No comments:

Post a Comment