in reply to Re: PERL stopped working for built-in DOS functions under XP
in thread PERL stopped working for built-in DOS functions under XP
COMSPEC isn't used.
>perl -le"print '[',`dir /b a`,']'" [a ] >set COMSPEC=notexist.exe >perl -le"print '[',`dir /b a`,']'" [a ]
Update: On the other hand, a bad PATH would be a problem.
>c:\progs\perl5100\bin\perl -le"print '[',`dir /b a`,']'" [a ] >set PATH= >c:\progs\perl5100\bin\perl -le"print '[',`dir /b a`,']'" []
|
|---|