You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.
As I understand it, the bottom line doesn't save anything back to PATH in Windows, it's only for the current session. This makes me think that Install-ChocolateyPath is adding things to path when they already exist.
The text was updated successfully, but these errors were encountered:
DanTup
changed the title
Incorrectly adds things to path
Chocolatey incorrectly adds things to PATH multiple times
Oct 19, 2014
PS M:\Coding> cinst dart-sdk
PATH environment variable does not have M:\Apps\dart-sdk\bin in it. Adding...
PATH environment variable does not have C:\Users\Danny\AppData\Roaming\Pub\Cache\bin in it.
PS M:\Coding> cinst dart-sdk -force
PATH environment variable does not have M:\Apps\dart-sdk\bin in it. Adding...
PATH environment variable does not have C:\Users\Danny\AppData\Roaming\Pub\Cache\bin in it. Adding...
Curious about the actual PATH - like in the registry or in Control Panel -> System.
Both PowerShell and Cmd.exe are very limited in their ability to refresh environment variables.
My path currently looks like this:
My install script looks like this:
As I understand it, the bottom line doesn't save anything back to PATH in Windows, it's only for the current session. This makes me think that
Install-ChocolateyPath
is adding things to path when they already exist.The text was updated successfully, but these errors were encountered: