Environment Variable is too large on Windows 10

前端 未结 13 1920
轮回少年
轮回少年 2020-12-12 09:28

I know this is strange and I have spent almost 3 days searching for the solution online without getting a useful one. So I have decided to come here.

I have recentl

13条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 09:56

    Late answer but I was looking for something similar and ended up here. I changed all the paths to variables for program files and programdata (this one saves like 1 character though not as important).

    For something like nodejs, i changed the normal path of

    C:\Program Files\nodejs\

    to

    %ProgramFiles%\nodejs\

    This can be done with "C:\Program Files (x86)\" as well using "%ProgramFiles(x86)%\"

    It saved me a few characters but enough that it stopped complaining I feel.

提交回复
热议问题