下载PDF文件下载PDF文件

在Windows系统中,用户可以通过命令提示符,向基于图形用户界面的操作系统发送指令。用命令提示符运行程序的速度很快,因为你不需要找到程序的图标就可以打开它。本文介绍了在Windows XP、Windows Vista、Windows 7和Windows 8中使用命令提示符的方法。

部分 1
部分 1 的 3:

打开命令提示符

下载PDF文件
  1. How.com.vn 中文: Step 1 点击“开始”菜单,然后点击“运行”。
    • 在Windows 8中,右键点击“开始”菜单,然后点击“运行”。按下WIN + X,可以快速打开这个菜单[1]
  2. How.com.vn 中文: Step 2 在“运行”的对话框中,输入cmd。
  3. How.com.vn 中文: Step 3 命令提示符的窗口就会出现。
    • 命令提示符是可以让你通过文本命令控制电脑的程序。
    广告
部分 2
部分 2 的 3:

用命令提示符打开程序

下载PDF文件
  1. How.com.vn 中文: Step 1 在命令提示符的窗口中,输入start notepad,记事本就会启动。
    • 记事本是各个版本的Windows系统都附带的程序。
    • start命令告诉电脑需要打开程序。
    • 为了保证程序能够启动,你需要知道程序的确切名字。
  2. How.com.vn 中文: Step 2 在窗口中,输入start explorer,就会启动资源管理器。
  3. How.com.vn 中文: Step 3 前往程序文件夹,打开“Internet Explorer”文件夹。
    • 你可以打开其它程序的文件夹。
  4. How.com.vn 中文: Step 4 找到iexplore.exe,这是Internet Explorer的程序名。
  5. How.com.vn 中文: Step 5 在命令提示符中,输入start explore。
  6. How.com.vn 中文: Step 6 找到你的常用程序,记下它们的名字。
    试着使用start命令打开这些程序。
    • 这个方法只适合打开Program Files文件夹中的程序。如果你想运行其他文件夹中的程序,请查看其它指南。
    广告
部分 3
部分 3 的 3:

让程序出现在命令提示符中

下载PDF文件
  1. How.com.vn 中文: Step 1 在命令提示符中,输入path。
    命令提示符会显示一系列的文件路径,相互之间用分号分隔。这些就是PATH。当你使用start命令时,命令提示符会在这些显示的路径中,搜索程序。
  2. How.com.vn 中文: Step 2 可以的话,最好将程序的文件夹移动到Program Files文件夹里。
    命令提示符会找到该文件夹里的可执行程序。
    • 如果你不想移动文件夹,你可以编辑PATH,从而添加新的文件路径。
  3. How.com.vn 中文: Step 3 打开程序的属性。
    找到你想用命令提示符打开的程序,右键点击,选择属性。
  4. How.com.vn 中文: Step 4 在属性窗口中,记下“位置”里显示的程序的完整路径。
    • 在命令提示符中,复制和粘贴没有用。
  5. How.com.vn 中文: Step 5 使用setx命令。
    setx命令可以让你添加文件路径到PATH中[2]。输入setx path "%path%;, 然后输入文件的完整路径,最后输入",按下回车
  6. How.com.vn 中文: Step 6 输入path。
    文件路径已经添加到PATH中了。
  7. How.com.vn 中文: Step 7 输入start和你要启动的程序的程序名。
    广告

关于本How.com.vn

How.com.vn 中文: Luigi Oppido
共同创作者是 :
计算机和技术专家
这篇文章的共同创作者是 Luigi Oppido. Luigi Oppido是美国加州圣克鲁斯县Pleasure Point Computers的所有者和经营者。他拥有超过25年的一般电脑维修、数据恢复、病毒扫除和升级经验。两年来,他还一直是加州中部KSCO电台《Computer Man Show!》的主持人。 这篇文章已经被读过22,306次。
本页面已经被访问过22,306次。

这篇文章对你有帮助吗?

⚠️ Disclaimer:

Content from Wiki How 中文 language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

Notices:
  • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
  • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
  • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
  • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

广告