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