salt/pkg/windows/buildenv/salt-cp.bat

12 lines
271 B
Batchfile

@ echo off
:: Script for starting the Salt-Minion
:: Accepts all parameters that Salt-Minion Accepts
:: Define Variables
Set SaltDir=%~dp0
Set SaltDir=%SaltDir:~0,-1%
Set Python=%SaltDir%\bin\python.exe
Set Script=%SaltDir%\bin\Scripts\salt-cp
"%Python%" "%Script%" %*