[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-beginners
Subject:    RE: getting perl to open pl file extension in XP
From:       Govardhanan D <govardhanan () live ! com>
Date:       2013-02-03 6:49:35
Message-ID: BAY405-EAS4012725D5BCBDF978B6636AC2020 () phx ! gbl
[Download RAW message or body]


Smith,

Can you please try by setting the path extension

C:\>set PATHEXT=%PATHEXT%;.pl

Thank you
Govardhanan D

Excuse for Typos- Sent from Mobile.
________________________________
From: Michael Smith
Sent: 03-02-2013 AM 03:24
To: beginners@perl.org
Subject: Re: getting perl to open pl file extension in XP

Sorry Tim. I thought after I wrote that perhaps I should have been very specific even \
though that would've also made it very long.

When I said, "I tried all the regular ways to change file extensions in XP." what you \
suggested is exactly what I tried -- many times. I even redid it again, just now, \
Exactly as you wrote it, in case perhaps pushing one button out of order could cause \
a failure. The same thing happens. The "Open with" window disappears and the program \
that opens the pl file extension remains the same.

The only thing left that I can figure to try is: The delete button in that "Open \
with" window is grayed out (why I have no idea) so I though uninstall perl, delete \
.pl in the registry and reinstall perl.

If that does nothing getting a new OS is looking better and better :)

I wonder if Perl not being in the "Program Files" folder has anything to do with it \
not being on the list in the "Open with" window so that it is necessary to "browse." \
That list is somewhere in the registry, if I could find it and add perl to it???

Although some of them were so far over my head as to be non-readable Everyone Thanks \
you very much for all the responses.

ms




________________________________
 From: timothy adigun <2teezperl@gmail.com>
To: Michael Smith <sybersmith@yahoo.com>
Cc: "beginners@perl.org" <beginners@perl.org>
Sent: Saturday, February 2, 2013 11:40 AM
Subject: Re: getting perl to open pl file extension in XP

Hi

On Sat, Feb 2, 2013 at 5:29 PM, Michael Smith <sybersmith@yahoo.com> wrote:

> I know get a new OS :)
> 
> First I installed strawberry perl but it has no GUItest and I couldn't get
> guitest to install. Then I deleted strawberry and I installed
> padre-on-strawberry because it says it already contains GUItest and now I
> can't get anything but notepad to open the pl files. I have to type
> perl.exe test.pl every time and I'm just way to lazy for that.
> 
> I tried all the regular ways to change file extensions in XP. Perl.exe
> isn't listed in the window, I hit the "browse" button go though the files
> to perl.exe and hit open or double click and that window goes away but 'pl
> files still open with notepad. I tried deleting the .pl in the registry and
> entering pl as "new" but that didn't work either.
> 
> I recently installed Strawberry Perl for one colleagues at work who
what to learn Perl Programming. He also had this same problem. The
following was what I did on his system using Win 7 OS:

Right click on the perl program you what to run,
then click on *open with*, then click on *Choose default Program*,
then click on "*Browse*" Button, locate the "Perl Command Line Interpreter"
in the bin folder for your perl installation in your system.
Select it, and check the button "*Always use selected program to open this
kind of file*".
Click on the *OK* button.
You should be able to run your perl program from your CLI. If your PATH is
correctly set.

Hope this helps.


> Any help greatly appreciated.
> 
> ms
> 



--
Tim



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic