salt-key.bat 285 B

123456789101112
  1. @ echo off
  2. :: Script for invoking salt-key
  3. :: Accepts all parameters that salt-key accepts
  4. :: Define Variables
  5. Set SaltDir=%~dp0
  6. Set SaltDir=%SaltDir:~0,-1%
  7. Set Python=%SaltDir%\bin\python.exe
  8. Set Script=%SaltDir%\bin\Scripts\salt-key
  9. :: Launch Script
  10. "%Python%" -E -s "%Script%" %*