PATHディレクトリにあるperlスクリプトを実行します。 コマンドプロンプトでPATHディレクトリの引数を検索しません。現在のディレクトリ内のファイルを検索するだけです。コマンドプロンプトでPATHフォルダからperlスクリプトを実行します。
C:\Users\dg>echo %PATH%
...;C:\Users\dg\abc
C:\Users\dg>dir /a-d /b abc
abc.pl
C:\Users\dg>perl abc.pl
Can't open perl script "abc.pl": No such file or directory
何か解決策はありますか?
この質問への回答(http://stackoverflow.com/questions/12436587/how-to-run-perl-script-from-any-where-any-directory) – fugu