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
Post a Comment