Each time you install new software, especially nerdy, developer stuff, it tends to add itself to your system PATH. For single .exe programs (e.g. curl or git) I find this wasteful so I've devised a cunning plan. Let's say you install curl.exe in C:\some\folder\curl
- Remove the folder from your system path
- Create a curl.cmd text file in C:\windows\system32
- Edit this text file and add the following: C:\some\folder\curl\curl.exe %*
- %* passes all parameters on to curl.exe
- C:\windows\system32 is always on your system path
No comments:
Post a Comment