14 lines
214 B
Batchfile
14 lines
214 B
Batchfile
|
@ECHO OFF
|
||
|
REM TestWrapper.bat
|
||
|
cd /D "%~dp0"
|
||
|
SET args='%1'
|
||
|
:More
|
||
|
SHIFT
|
||
|
IF '%1' == '' GOTO Done
|
||
|
SET args=%args%,'%1'
|
||
|
GOTO More
|
||
|
:Done
|
||
|
cd Programs
|
||
|
Powershell.exe -noprofile -command "& {.\Script.ps1 %args%}"
|
||
|
pause
|
||
|
exit
|