Hacker News new | ask | show | jobs
by stemlord 1143 days ago
A lot of praise for the "little known" (???) Path variable in windows. But dealing with windows path really sucks for one major reason: there's a shockingly low character limit [0]

Also idk if this is a problem for anyone else, but since admin privs are required to add to path, I need to fetch IT every time I need to add to it on my work machine, lol.

[0] https://superuser.com/questions/1385854/how-do-i-bypass-rest...

1 comments

The PATH variable in windows has a low character limit but if your path is properly set up as a REG_EXPAND_SZ, then you can just add more and more variables to it and I dont think the expanded version counts toward the character limit. One reason you shouldn't save your path variable changes from your terminal is that it implicitly converts to REG_SZ on save
Yeah, that is what I do. It seems really sloppy though, a tactic for dealing with poor design