@echo off
rem my_command_days.bat: 渡された引数(日付)を一つずつmy_commandに渡して実行する
:loop
if "%~1" equ "" goto :eof
rem my_commandを実行
my_command %1
rem 処理済みの引数をシフト(次の引数を%1にする)
shift
goto :loop
:eof
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme