in reply to Re^4: Cleaning %PATH% with WinBatch
in thread Cleaning %PATH% with WinBatch

A minor thing to note: where is the equivalent of the linux command which --all not of the bare which

I use which from UnxUtils.

which perldoc.bat C:\EX_D\ulisseDUE\perl5.20.64bit\perl\bin\perldoc.bat which --all perldoc.bat C:\EX_D\ulisseDUE\perl5.20.64bit\perl\bin\perldoc.bat C:\EX_D\ulisseDUE\perl5.26.64bit\perl\bin\perldoc.bat where perldoc.bat C:\EX_D\ulisseDUE\perl5.20.64bit\perl\bin\perldoc.bat C:\EX_D\ulisseDUE\perl5.26.64bit\perl\bin\perldoc.bat

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^6: Cleaning %PATH% with WinBatch -- which and where
by LanX (Saint) on May 24, 2022 at 15:16 UTC
    Thanks!

    I somehow remember discussing here 3 different which like commands on Win which have slightly different semantics.

    Unfortunately I can't find the thread anymore ...

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery