windows中通过bat批处理打开exe文件 | 您所在的位置:网站首页 › bat打开文件 › windows中通过bat批处理打开exe文件 |
1、想要运行的程序: C:\Program Files\Windows Media Player\wmplayer.exe C:\Program Files\Haihaisoft Universal Player\hmplayer.exe 2、在桌面上,“新建 文本文档.txt”,方法是:在桌面上右键,新建-文本文档,复制下面内容并保存:
start C:\Progra~1\Window~1\wmplayer.exe start C:\Progra~1\Haihai~1\hmplayer.exe (批处理中,除了用start命令外,还要注意C:\Progra~1\Window~1和C:\Progra~1\Haihai~1的变化)
3、改“新建 文本文档.txt”为“自动执行.bat”,保存在除桌面和C盘外的其他分区上。 4、运行“自动执行.bat”,就能运行wmplayer.exe和hmplayer.exe。 |
CopyRight 2018-2019 实验室设备网 版权所有 |