Hi
I did start a new instance of command line still the problem persisted. After that, I rebooted and tried again, but the problem was still there. As stated earlier, I dropped to PowerShell and it worked. But the moment I get out of PowerShell, it stops working.
C:\Users\pmu>perl 'perl' is not recognized as an internal or external command, operable program or batch file. C:\Users\pmu>powershell Windows PowerShell Copyright (C) 2009 Microsoft Corporation. All rights reserved. PS C:\Users\pmu> perl --version This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x +86-multi-thread-64int Copyright 1987-2017, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. PS C:\Users\pmu> exit C:\Users\pmu>perl 'perl' is not recognized as an internal or external command, operable program or batch file. C:\Users\pmu>
This is something that I truly do not understand. Things are pretty straightforward in linux. I just have to edit the $PATH variable and things generally work consistently.
In reply to Re: Strange problem with Windows 7 command line and perl
by anonypl
in thread Strange problem with Windows 7 command line and perl
by anonypl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |