ここでは、現在のディレクトリ内のすべてのファイルを実行するスクリプトを作成しました。それらはバッチファイルです。
set path [pwd]
append path "/"
set files [glob *]
foreach file $files {
exec cmd.exe /c ${path}$file
}
しかし、次のエラーが表示されます。
The system cannot find the path specified.
ここでは、現在のディレクトリ内のすべてのファイルを実行するスクリプトを作成しました。それらはバッチファイルです。
set path [pwd]
append path "/"
set files [glob *]
foreach file $files {
exec cmd.exe /c ${path}$file
}
しかし、次のエラーが表示されます。
The system cannot find the path specified.