> From: "Lee Goddard" <[EMAIL PROTECTED]>
> To: "Perl_Users" <[EMAIL PROTECTED]>
> Subject: Default Windows Action for AS Perl install
> Date: Wed, 13 Jun 2001 10:59:59 +0100
> 
> Could some kind soul please send me the default
> entry for Windows association for Perl files?
> 
> Doesn't work on Win2k:
>   "D:\Lang\Perl\AP626\bin\perl.exe %1 %*"
>   D:\Lang\Perl\AP626\bin\perl.exe "%1" "%*"
>   D:\Lang\Perl\AP626\bin\perl.exe "%1" "%1"
> 
> I'm trying to get arguments passed to perl from
> the command line.
> 
> Thanks in anticipation,
> Lee

C:\WORKING>assoc .pl
.pl=Perl

C:\WORKING>ftype Perl
Perl=C:\Perl\bin\Perl.exe "%1" %*

this is, of course, just displaying the value.  assoc .pl=Perl should
work for the first part and ftype Perl=C:\Perl\bin\Perl.exe "%1" %* for
the second...

If you want to be able to run without using the ext, add .pl(or
whatever) to you PATHEXT env var.  Although, make sure you dont name any
scripts like net.pl or something like that since it will find net.exe in
your path first or other results you dont want...

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to