Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 7 - Add Path

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.

like image 620
Giovanni Far Avatar asked Apr 30 '14 23:04

Giovanni Far


People also ask

What is the path in Windows 7?

The path is a list of directories where the command prompt will look for executable files, if it can't find it in the current directory.

How do you add a path?

To add a path to the PATH environment variable In the System dialog box, click Advanced system settings. On the Advanced tab of the System Properties dialog box, click Environment Variables. In the System Variables box of the Environment Variables dialog box, scroll to Path and select it.

What does add to path mean in Windows?

Adding a directory to your PATH expands the # of directories that are searched when, from any directory, you enter a command in the shell.


1 Answers

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); 
like image 183
Domin8urMind Avatar answered Sep 25 '22 07:09

Domin8urMind