windows中通过bat批处理打开exe文件 您所在的位置:网站首页 bat打开文件 windows中通过bat批处理打开exe文件

windows中通过bat批处理打开exe文件

2024-07-12 16:09| 来源: 网络整理| 查看: 265

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 实验室设备网 版权所有