I am trying to set environment variables using the setx
command, such as follows
setx PATH "f:\common tools\git\bin;f:\common tools\python\app;f:\common tools\python\app\scripts;f:\common tools\ruby\bin;f:\masm32\bin;F:\Borland\BCC55\Bin;%PATH%"
However, I get the following error if the value is more then 1024 characters long:
WARNING: The data being saved is truncated to 1024 characters.
SUCCESS: Specified value was saved.
But some of the paths in the end are not saved in variable, I guess due to character limit as the error suggests.