[Bug] Program In Administrator Path Override Program Installed By Scoop #5023
-
Bug ReportCurrent Behaviorsome programs are already in \Windows\System32 folder like curl and some others are internals to cmd.exe like mkdir, these override scoop installed programs how can I fix this, unfortunately, I wasn't available to find a guide on this topic, sorry if it's kinda irrelevant
or worst case
System detailsWindows version: 11 OS architecture: 64bit PowerShell version: 5.1.22000.653 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
System's PATH will always have priority over User's PATH. For curl, have you tried installing it globally? For mkdir, nothing can be done as mkdir is an CMD built-in and it will always prioritize builtins. Alternative is to use full path, or create an alias to mkdir with |
Beta Was this translation helpful? Give feedback.
-
The system curl always has highest priority and this could not be changed (I've tried all my ways) 😢 |
Beta Was this translation helpful? Give feedback.
System's PATH will always have priority over User's PATH. For curl, have you tried installing it globally?
For mkdir, nothing can be done as mkdir is an CMD built-in and it will always prioritize builtins. Alternative is to use full path, or create an alias to mkdir with
scoop shim add mkdir-s C:\Users\Sina\.scoop\shims\mkdir.exe