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

1024-byte PATH len limit #38

@MarkCallow

Description

@MarkCallow

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions