Page 1 of 1

Perl within Win XP cmd window

PostPosted: 09. April 2009 16:10
by geogeo
When I installed Xampp on a previous machine some years ago I was able to use the windows comand consol to activate perl programs,
eg. perl test.pl would run test.pl

Having just installed Xampp and the Perl addon on a new machine I can't get this to work. Any pointers on how to do this.

Thanks

Re: Perl within Win XP cmd window

PostPosted: 09. April 2009 16:13
by Wiedmann
You must add "\xampp\perl\bin" to your PATH environment variable.

Re: Perl within Win XP cmd window

PostPosted: 09. April 2009 16:20
by geogeo
Thanks, but I don't think that's the problem. The command line entry responsd with ' Perl is not a recognised as an internal command or program' so it looks like Windows isn't seeing Perl.

Geo

Re: Perl within Win XP cmd window

PostPosted: 09. April 2009 16:47
by Wiedmann
it looks like Windows isn't seeing Perl.

And why isn't Windows seeing Perl?

Re: Perl within Win XP cmd window

PostPosted: 09. April 2009 17:03
by geogeo
Sorry, I was being dumb. I've modified the PATH as you suggested and it now all runs!

Many thanks