Path warning during installation: "exceed the maximum length possible for a varible"

Hello, I’m trying to install the CUDA Tookit in windows 8.1 to use with Anaconda, but I’ve got this warning:

" The NVIDIA installer needs to add a path to the %PATH% environment variable; however, doing so would exceed
the maximum length possible for this variable. After the installation has been completed, please shorten the
%PATH% environment variable. And then prepend below mentioned paths to the %PATH% environment variable after the installation, or else try the installation again.

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp;
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\lv10.1\bin;

"

So, what does it means? what I have to do? I tried the installation again and got the same message.
If the path exceed the maximum length possible for a varible, why NVIDA use that path?

Thank you for the help.

You need to learn about what the PATH environment variable is on windows.

Do a google search on that to learn about it and learn about how to modify it.

Then modify it to make it shorter. Remove unneeded things from the PATH variable.

Then rerun the installation.

Same problem here.Can you please say what should I do now? I don’t understand how to do so. Please

You are running into this issue because your %Path% Environment variable has exceeded 2047 characters. To remove some unneeded or duplicate paths go to System Properties and select environment variables. Or, press the start button and type “Edit Environment Variables”. Once you have the System Properties open select the Environment Variables… button. In the Environment Variables dialogue search for the Path under the System variables list. Edit this variable and remove items that are not necessary. The sum of all characters in here need to be less then 2047. If you already finished the CUDA installation add the following items to the path variable:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\lv10.1\bin