【发布时间】:2016-11-21 01:10:09
【问题描述】:
我想运行一个位于 PATH 目录中的 perl 脚本。 现在命令提示符不会在 PATH 目录中搜索参数。它只是搜索当前目录中的文件。
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
任何解决方案或解决方法?
【问题讨论】:
-
对这个问题的接受答案 (stackoverflow.com/questions/12436587/…) 应该对您有所帮助
标签: windows perl command-prompt path-variables