windows - File Type .pl Association and Using cmd.exe to Run the Script -


i've made new file type .pl (explorer->tools->folder options...->file types). wanted make new action call cmd.exe , automatically run perl script.i don't know write under "applications used perform action" ,i have pass cmd.exe arguments don't know which. form of arguments should ,i suppose, be:[cmd.exe] <file location> perl <file name>

to permanently associate *.pl perl.exe, @ command prompt type following.

assoc .pl=perlscript ftype perlscript=c:\perl\bin\perl.exe %1 %* 

note associate *.pl wperl.exe, run script without visible command window. wperl.exe part of activestate perl distribution.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -