On Sun, 23 Sep 2007, Suresh Govindachar wrote:
> 
> Hello,
> 
>   In the cmd.exe shell, I can run a .pl file by typing its name.
> 
>   However, in the new PowerShell,
> 
>     http://www.microsoft.com/technet/scriptcenter/topics/msh/download.mspx
> 
>   I need to prefix the .pl file with perl.  How can one get the
>   file association to work in the PowerShell?

I don't really know, but one thing to try is adding the .pl extension
to PATHEXT:

    set PATHEXT=.pl;%PATHEXT%

Cheers,
-Jan

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to