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:
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.
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.
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.
Adding a directory to your PATH expands the # of directories that are searched when, from any directory, you enter a command in the shell.
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);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With