Wishlist 0 ¥0.00

使用bat批处理文件启动.exe程序

例子1:

1.新建一个.txt记事本文件
2.编辑内容如下:
start “” “D:\Tencent\QQ.exe”
start D:\Tencent\QQ.exe
路径中有空格的按第一排写,加上引号(注意除了路径要引起来外,前面还有一对引号);
路径没有空格的按第二排写。每个需要启动的程序写一行,就可以同时启动多个程序;
3.最后保存,然后改文件后缀名为.bat。

 

例子2:

@echo off    :关闭回显

start  D:\dev_tool\nginx-1.9.9\nginx.exe

:如果路径在红有空格可以直接用: start  /d  “路径”空格  程序名  。/d 是指定路径的意思
start  /d "D:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.4\bin\" idea.exe

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.