powershell→バッチファイル→perlスクリプトの呼び出し

[改訂新版]Windowsコマンドプロンプトポケットリファレンス

[改訂新版]Windowsコマンドプロンプトポケットリファレンス

スクリプトの呼び出し

test.ps1
-test.ps1-
for($i=0;$i -lt 5; $i++){
    cmd /c test.bat Takashi + $i
}
test.bat
- test.bat-
echo off
perl  hello.pl %1
hello.pl
-hello.pl-
print "Hello $ARGV[0].";