bun*_*nty 5 windows perl file-association
我是xampp的新手,而且,我是Perl编程的新手.我只是试图打开文件C:\ xampp\cgi-bin\printenv.pl,我犯了一个错误.
我选择默认程序将该文件扩展名作为记事本打开always use the selected program to open this kind of file.
现在,当我尝试从cmd运行.pl文件时,它会在记事本中打开它们而不是执行.请回复.提前致谢.
在shell提示符下键入以下内容:
assoc .pl=PerlScript
ftype PerlScript="c:\...\bin\perl.exe" "%1" %*
Run Code Online (Sandbox Code Playgroud)
(替换...为正确的路径.)