Windows 7-添加路径 [英] Windows 7 - Add Path

查看:137
本文介绍了Windows 7-添加路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在PATH variable上添加新路径(sumatraPDF).
我不知道为什么它不起作用...
我认为一切正常,但是当我尝试从CMD执行sumatrapdf.exe时,找不到程序.

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.

这就是我所做的:

路径正确,我检查了1000次.

The path is correct, I checked it 1000 times.

这个想法是将LaTeX与sublimetext一起使用,当我保存.text文件时,sumatra必须打开并向我显示结果.如果需要,我必须添加SumatraPDF的路径...但是它不起作用.

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.

推荐答案

我认为您正在Windows注册表中编辑某些内容,但这对路径没有影响.

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

尝试一下:

如何添加,删除或编辑环境Windows 7中的变量

感兴趣的变量是PATH

the variable of interest is the PATH

您也可以在命令行上输入

also you can type on the command line:

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

这篇关于Windows 7-添加路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆