1

I tried adding an 'Environment variable' with the name "PATH" but I found another entry with the same name. can I change the old one to a different name? I tried openning "GPAC" folder, but didn't understand much and didn't know what to change in the configurations file

Duplicate Environment variables

  • 1
    yeah, you don't want to do that. – Frank Thomas Jul 10 '14 at 16:07
5

Do not remove or rename the PATH variable!

Instead, just edit the existing PATH variable, add a delimiter (which is ; in Windows) and then add your new path.

Would result in something like:

C:\Windows;C:\Program Files\GPAC

Why you shouldn't delete it:

Wikipedia: PATH

This may result in a broken system (I've never tried it), but you won't be able to just run cmd anymore, you'll have to type C:\Windows\cmd.exe because Windows won't know where to look for executables without the PATH variable.

0

To add multiple path values under the PATH variable separate your values with a semi-colon.

  • To be clear, this is only true for certain variables. For instance adding another path to the TEMP variable would just break things. – EBGreen Jul 10 '14 at 15:33
  • To be clear he said "PATH". So what's your point? – Iraedei Jul 10 '14 at 15:38
  • My point is that your answer implies that you can do this for any variable. – EBGreen Jul 10 '14 at 15:42
  • There I fixed it for you. The other answer is more comprehensive though regardless. – EBGreen Jul 10 '14 at 15:43
  • 1
    No biggie. It's just that the goal of the stack exchange sites is to provide ideally the one best answer for each question. – EBGreen Jul 10 '14 at 16:01

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.