in reply to Strange problem with Windows 7 command line and perl

Hi anonypl,

It's been a while since I had to deal with this kind of problem on Windows, but if memory serves, changes to PATH don't go into effect immediately. So did you already try rebooting? And, if so, what does echo %PATH% (from the same command window in which perl doesn't work) show you?

Regards,
-- Hauke D

Replies are listed 'Best First'.
Re^2: Strange problem with Windows 7 command line and perl
by marto (Cardinal) on Feb 12, 2017 at 16:07 UTC

    "So did you already try rebooting?"

    A reboot isn't required, starting a new instance of the command prompt will work fine.