windows vbs启动多个应用程序并使程序最小化(显示桌面)
CreationTime--2018年7月26日11点18分
Author:Marydon
1.应用场景
每天开机后,都需要打开平常所需要的软件,又不想将程序设为开机启动,能不能开机后,同时启动多个程序呢?
2.代码实现
第一步:新建一个文本文件
桌面-->右键-->新建-->文本文档-->双击打开
第二步:编辑命令
语法:
Dim shell
Set shell = CreateObject("WScript.Shell")
shell.Run """你的应用程序的绝对路径"""
Dim shell
Set shell = CreateObject("WScript.Shell")
'1.启动qq
shell.Run """E:\TIM-x86\Bin\TIM.exe"""
'2.启动chrome
shell.Run """E:\ChromePortable-65-PE\App\Google Chrome\chrome.exe"""
'3.启动ecli