I want to run a perl script located in a PATH directory. Now command prompt does not search arguments in PATH directories. It just search files in current directory.
C:\Users\dg>echo %PATH%
...;C:\Users\dg\abc
C:\Users\dg>dir /a-d /b abc
abc.pl
C:\Users\dg>perl abc.pl
Can't open perl script "abc.pl": No such file or directory
Any solution or work around?