下载PDF文件下载PDF文件
X
这篇文章由我们训练有素的编辑和研究团队共同创作,他们对文章的准确性和全面性进行了验证。
How.com.vn的内容管理团队会严密监督编辑人员的工作,确保每篇文章都符合我们的高质量标准要求。
这篇文章已经被读过12,784次。
这篇文章将教你使用Windows命令行来运行批处理文件(.BAT)。你可以在“运行”对话框或“终端”窗口里输入命令运行程序。
步骤
- 在搜索栏里输入cmd ,接着会出现一系列匹配的搜索结果。
- 右键点击命令提示符。接着会展开菜单。
- 点击以管理员身份运行。接着出现一条确认信息。
- 点击确定。用最高权限(管理员)打开命令行。
- 输入cd和批处理文件的完整路径。例如:
- 如果文件在桌面上,输入cd \Users\你的登录名\Desktop。
- 如果在下载文件夹中,输入cd \Users\你的登录名\Downloads.
- 如果不清楚自己的登录名,输入cd \Users,按下 回车键进入“用户”文件夹,然后输入dir并按下回车键来查看登录列表。
- 按下回车键进入目录。
- 输入批处理文件的名称。如果文件叫做“program.bat”,那就输入program.bat。
- 如果不知道名称,输入dir,按下回车键,浏览文件夹中的文件。你可以在这里看到文件的名称。
- 按下回车键,就能运行批处理文件。广告
这篇文章对你有帮助吗?
⚠️ 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.
- - 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.
广告