mirror of
https://github.com/coreybutler/nvm-windows.git
synced 2025-09-04 19:58:43 +00:00
6 lines
286 B
Plaintext
6 lines
286 B
Plaintext
Set WSHShell = CreateObject("WScript.Shell")
|
|
userpath = WSHShell.RegRead("HKCU\Environment\Path")
|
|
userpath = Replace(userpath, "%NVM_HOME%", "")
|
|
userpath = Replace(userpath, "%NVM_SYMLINK%", "")
|
|
userpath = Replace(userpath, ";;", ";")
|
|
WSHShell.RegWrite "HKCU\Environment\Path", userpath |