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

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

问题描述

我需要在我的 PATH 变量上添加一个新路径 (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天全站免登陆