I've made a new file type .pl (Explorer->Tools->Folder Options...->File Types). Now I wanted to make a new Action which will call cmd.exe and automatically run PERL script.I don't know what to write under "Applications used to perform action" ,I have to pass cmd.exe certain arguments but I don't know which. Form of arguments should ,I suppose, be:[cmd.exe] <file location> perl <file name>
相关问题
- Inheritance impossible in Windows Runtime Componen
- $ENV{$variable} in perl
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- How can I have a python script safely exit itself?
相关文章
- 在vscode如何用code runner打开独立的控制台窗口,以及设置好调试模式时窗口的编码?
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
- Running a perl script on windows without extension
- Comparing speed of non-matching regexp
To permanently associate
*.pl
withperl.exe
, at a command prompt type the following.Note that you could also associate
*.pl
withwperl.exe
, which will run the script without a visible command window.wperl.exe
is part of the ActiveState perl distribution.Application used to perform actions:
"c:\perl\bin\perl.exe" "%1" %*
assuming "c:\perl\bin\perl.exe" is the correct file spec of your Perl executable.