3 ms·
CMD includes the CWD in the PATH,[a] but PowerShell doesn’t; you’re forced to do the `./` (or `.\`) dance. However, if you tab complete a file name that’s not
by colejohnson66 4y ago
CMD includes the CWD in the PATH,[a] but PowerShell doesn’t; you’re forced to do the `./` (or `.\`) dance.
However, if you tab complete a file name that’s not "dot slash" prefixed, it’ll add it for you. Not sure if sh and friends do that.
[a]: Implicitly. Echoing the $PATH variable won’t include `.`, but you can execute as if it was