Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ループの作成について助けが必要です。ループは、ファイル「filenames.txt」セットの最初の文字列を変数として取得し、変数を含むスクリプトを実行し、「filenames.txt」内のすべての文字列を完了するまで繰り返します。
これを試して:
for /f %%a in (filenames.txt) do ( call "my script.bat" "%%~a" )