After some reseach, I found out that length limits for names are 255 and for values 32767 characters.
But which characters are allowed for names?
And which characters are allowed for values?
After some reseach, I found out that length limits for names are 255 and for values 32767 characters.
But which characters are allowed for names?
And which characters are allowed for values?
It seems that the only prohibited character is equal ("=") sign - from https://docs.microsoft.com/en-us/windows/win32/procthread/environment-variables:
The name of an environment variable cannot include an equal sign (=).