找回密码
 加入
搜索
查看: 2979|回复: 4

怎么打开一个文件夹

[复制链接]
发表于 2008-5-8 19:53:08 | 显示全部楼层 |阅读模式
打开指定的一个文件夹,用什么命令。。。

[ 本帖最后由 iaw 于 2008-5-8 20:45 编辑 ]
发表于 2008-5-8 20:37:58 | 显示全部楼层
$Folder="d:\"
Run("explorer.exe"&chr(32)&$Folder,@WindowsDir)

评分

参与人数 1金钱 +1 收起 理由
iaw + 1 我很赞同

查看全部评分

 楼主| 发表于 2008-5-8 20:45:40 | 显示全部楼层
这样呀,没有diropen的命令哦。。。
发表于 2008-5-11 21:02:33 | 显示全部楼层
也可以使用shell.explorer的explore方法,这样比较节省。
发表于 2008-5-13 00:00:02 | 显示全部楼层
ShellExecute("d:\123")

这个也可以呀
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-4-23 23:35 , Processed in 0.079501 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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