SP2 and Perl

  • Thread starter Thread starter Adam Taub
  • Start date Start date
A

Adam Taub

Hi,

Since installing SP2 on XP Pro I can no longer run perl scripts with
parameters.

By doing help ftype there are specific instructions to set
ASSOC .pl=PerlScript
FTYPE PerlScript=perl.exe %1 %*

which used to work.

Now with SP2 if I try to goto a cmd prompt and run "test.pl param1" it
first prompts for the application to use. If I set it to perl.exe it
then runs without passing parameters.

SP2 seems to ignore the FTYPE setting altogether.

Is there a way to re-enable this?

thanks,
Adam
 
This is not an answer to your question, exactly, but I hope you find
it useful anyway.

I have built a few SP2 machines from scratch now and installed Perl on
them without any trouble. I use a command like this to install:

msiexec /qb /i ActivePerl-5.8.4.810-MSWin32-x86.msi PERL_PATH=Yes PERL_EXT=Yes

"PERL_PATH=Yes" says to add the Perl binary directory to %PATH%, and
"PERL_EXT=Yes" says to associate .pl files with Perl.exe. And
everything is working fine; I can invoke Perl scripts like "foo.pl
arg1" and they run without error.

- Pat
http://unattended.sourceforge.net/
 
Thanks! Installing the latest activestate perl resolved the problem.

However, I am still hoping someone can tell me how to manually repair
this problem without installing a new version of perl.

We have machines that work now with the perl association and wont work
after sp2.

Plus the instructions still exist under "help ftype" for associating
perl however they no longer work after SP2.

-Adam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top