Adding serviceman to PATH doesn't work in Windows. #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Windows 10 v1903.
What I did:
Opened new command prompt, ran
serviceman
, got:I should update the README.
reg
updates the registry, it DOES NOT update thePATH
in the current environment.Getting Windows to re-read the PATH from the registry into the environment requires a restart, or a program to issue a special low-level
syscall
function that causesPATH
to be re-read.And that is why I created
pathman
, which does use that low-level syscall:https://git.rootprojects.org/root/pathman
P.S. The built-in
setx
command will cause PATH to be re-read, but it has a long-standing bug that causes the PATH to be set in the wrong place, and potentially truncated... welcome to Windows :)Ok. Yeah. Windows is weird :)