Daniel Kasak wrote:
> Timothy Johnson wrote:
>> It sounds like there is a problem with your file association.
>> 
>> Open HKEY_CLASSES_ROOT and go to Perl-->Shell-->Open-->Command.
>> 
>> The (Default) entry should probably read:
>> 
>> "C:\Perl\bin\perl.exe" "%1" %*
>> 
> I'll check it out tomorrow when I can get back to the PC.
> Thanks :)

This is most likely the problem. Type "assoc .pl" to get the perl type
(probably Perl) and then "ftype Perl" to see the associated command:

C:\>assoc .pl
.pl=Perl

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

Also, you can add .PL to the PATHEXT variable if you don't want to have
to use the extension to run the script in the future.

Luke

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to