Avatar of Roger Alcindor
Roger Alcindor
 asked on

Windows 10 Environment Variable Maximum length

I am installing  RAD Studio 10.3 on a PC running Windows 10 Professional  and have received a warning before installation commences : "It has been detected that your system PATH environment variable is too long"
The link to further information states:
"The installation of RAD Studio adds up to 218 characters to your PATH environment variable. If the length of your PATH environment variable goes beyond 2048 characters, your system will misbehave".

The length of the "PATH" environment is 1936 characters.
I was under the impression that Windows 10 has a system PATH environment maximum length of 4096 characters.

Is this correct and in which case should I proceed with installation ?

Error Message
Windows 10Windows OSPC

Avatar of undefined
Last Comment
Roger Alcindor

8/22/2022 - Mon

If you want a large environment length, you can edit the registry to make it larger.  


My path is under 1000 characters so I have not had to do this.
Sam Simon Nasser

to check the system path: right click computer, properties, advanced system settings, advanced, environment variables.
from the second box, you'll find PATH which includes the current entries. for example, mine is:
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

Open in new window

copy your path here to check if there are any problems with your PATH.
Roger Alcindor

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy