Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

1024-byte PATH len limit #38

Open
MarkCallow opened this issue Jul 8, 2014 · 0 comments
Open

1024-byte PATH len limit #38

MarkCallow opened this issue Jul 8, 2014 · 0 comments

Comments

@MarkCallow
Copy link

I just encountered the error about my PATH being > 1024 characters. I suspect I am not alone being in this situation. Here are some suggestions for how to avoid this limit:

http://superuser.com/questions/387619/overcoming-the-1024-character-limit-with-setx

Using the REG command instead of setx seems like the least intrusive but I'm not sure if REG broadcasts WM_SYSTEM_SETTING_CHANGED.

P.S. I just realized it is not a good idea to run "emsdk activate --global" from my cygwin prompt as the PATH there contains directories of cygwin commands that will not run in Windows but it looks like emsdk will add all of them to the registry along with its additions. (Even without those additional directories my path is > 1024 characters.) Is it possible to remove any paths that do not begin with /cygdrive from the path set in the registry in this case?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant