I'm currently searching for a way to overcome the limit off the environment variable length on Window OS, and the maximum limit I have achieved is 4133. But for my project, I need to check the system installation with longer path environment (8000, 16000 or even the maximum 32000).
setx command is out, since it automatically truncated the path environment to 1024 character.
I have tried the API SetEnvironmentVariable() of PowerShell and it seems to have limit of ~4133 character, the rest is automatically truncated or not function properly.
Is there anyway to overcome this limit ?
No comments:
Post a Comment