I'm trying to switch from cmd.exe to Powershell, but I'm very annoyed by the fact that if I try to execute something from the current folder, I have to type .\ before it, just like in Linux. Is there a way to disable this without adding the current folder or . to PATH?
If you are using tab complete, type the first few letters and press tab. It will automatically prepend
.\
and if you keep pressing tab, it will keep suggesting the file name you need until you get to it (if there's more than 1 similar file name).Just like Linux, you'll have to add ".\" to your path. Powershell doesn't have a way to say, "automatically prepend .\ to %PATH%." The path statement will have to be modified.