RE: make a executable with a perl file in windows

2002-02-01 Thread Dean Theophilou
On an NT/2k machine, go to the command prompt and type the following: assoc .pl=Perl ftype Perl=C:\Perl\Bin\Perl.exe %1 %* After this has been done, you no longer have to type "Perl Perlfile.pl". However, if you don't want to type the .pl either, i.e. "PerlFile" rather than "PerlFile.pl"

RE: make a executable with a perl file in windows

2002-02-01 Thread Hanson, Robert
In windows it uses the file association only, and in recent installs of ActiveState Perl where I work, the installer sets all of this up for you. So try it out, it might already be set up. Otherwise create a file extension .pl (or whatever) and set the "Open" action to "C:\Perl\bin\perl.exe" "%1

RE: make a executable with a perl file in windows

2002-02-01 Thread Russ Foster
Can I assume you're really not running your perl script in DOS, but rather in a command prompt on a Windows machine? If the ActiveState install didn't register the file extention .pl with perl, do it now. Make sure the default action is "open". Then you can type: C:\> myperlscript.pl There is

Re: make a executable with a perl file in windows

2002-02-01 Thread Dennis G. Wicks
On NT you put the extension in the environment variable PATHEXT along with COM BAT EXE and such. There is a similar facility in 95/98/ etc. but I don't know what they are. Good Luck! Dennis >}On Feb 1, 16:44, Booher Timothy B 1stLt AFRL/MNAC wrote: >} Subject: make a executable with a perl file

RE: make a executable with a perl file in windows

2002-02-01 Thread Timothy Johnson
ActiveState ActivePerl should register the file extension so that you just have to type PerlFile.pl to launch it. -Original Message- From: Booher Timothy B 1stLt AFRL/MNAC [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 2:45 PM To: [EMAIL PROTECTED] Subject: make a executable