- or download this
>assoc .pl
.pl=Perl
>ftype Perl
Perl="E:\Perl\bin\perl.exe" "%1" %*
- or download this
>set pathext
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
>set PATHEXT=%PATHEXT%;.PL
- or download this
>echo print "@ARGV" >targ.pl
>targ 1 2 3
1 2 3
>perl -e "system 'targ', 1, 2"
1 2