Windows 7 - Add Path

Giovanni Far picture Giovanni Far · May 1, 2014 · Viewed 126k times · Source

I need to add a new path (sumatraPDF) on my PATH variable.
I don't know why it does not work...
I think everything is right but when I try to execute sumatrapdf.exe from CMD it cannot find the program.

This is what I did: enter image description here

The path is correct, I checked it 1000 times.

The idea is use LaTeX with sublimetext and when I save a .text file sumatra has to open and show to me the result. If I want that I have to add the path of SumatraPDF... but it does not work.

Answer

Domin8urMind picture Domin8urMind · May 1, 2014

I think you are editing something in the windows registry but that has no effect on the path.

Try this:

How to Add, Remove or Edit Environment variables in Windows 7

the variable of interest is the PATH

also you can type on the command line:

Set PATH=%PATH%;(your new path);