From: Shishir Saxena <[EMAIL PROTECTED]>
> I just installed perl and I don't know what settings I fiddled with,
> but now on Windows Command Prompt I am unable to execute perl scripts
> with somthing like, "perl test.pl" rather I have to do "perl.exe
> test.pl" ....same for any application ... everything has to be
> suffixed with a .EXE ... Please advise ...

Looks as if you corrupted or deleted the PATHEXT system variable.

Try to execute

        set 
PATHEXT=.COM;.EXE;.BAT;.CMD;.pl;.gpl;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
and then 
        perl test.pl

If it works you will have to change the value of this variable in "My 
Computer\Properties\Advanced\Environment Variables"

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to