1
0
Fork 0
toolkit/packages/exec/__tests__/scripts/print-args-cmd.cmd

12 lines
180 B
Batchfile
Raw Normal View History

@echo off
setlocal
set index=0
:check_arg
set arg=%1
if not defined arg goto :eof
set "arg=%arg:"=<quote>%"
echo args[%index%]: "%arg%"
set /a index=%index%+1
shift
goto check_arg