找回密码
 加入
搜索
查看: 1993|回复: 3

[AU3基础] [已解决]用run为什么不能直接打开一个视频文件

[复制链接]
发表于 2010-4-22 14:24:00 | 显示全部楼层 |阅读模式
本帖最后由 waxy 于 2010-4-22 14:44 编辑

请教一下,为什么我用run为什么不能直接播一个视频文件呢?我也尝试过先运行Windows Media Player,
播放器是可以打开了,但视频文件却不能直接打开(VCD.dat),麻烦大侠们帮我看一下。
#include <GUIConstants.au3>
#include <wmp.au3>
FileChangeDir ("C:\Program Files\Windows Media Player")
Run("wmplayer.exe")
Run("vcd.dat")

评分

参与人数 1金钱 +10 收起 理由
afan + 10 感谢主动将修改帖子分类为[已解决],请继续 ...

查看全部评分

发表于 2010-4-22 14:28:51 | 显示全部楼层
ShellExecute('vcd.dat')

评分

参与人数 1威望 +1 收起 理由
afan + 1

查看全部评分

 楼主| 发表于 2010-4-22 14:43:56 | 显示全部楼层
回复 2# 水木子
多谢了,看来我还得多看几遍“帮助文档”。
发表于 2010-4-25 08:42:29 | 显示全部楼层
ShellExecute('vcd.dat')
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-6-9 17:11 , Processed in 0.077026 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表