找回密码
 加入
搜索
查看: 1629|回复: 1

[AU3基础] autoit 表达系统变量是什么方式呢

[复制链接]
发表于 2011-12-13 16:56:20 | 显示全部楼层 |阅读模式
比如  cmd 中  %systemroot% 是 c:\windows

在 autoit 中如何获取这个变量呢
发表于 2011-12-13 17:03:32 | 显示全部楼层
又逮到一个资深潜水员~
MsgBox(0, '系统环境变量 %systemroot%', EnvGet('systemroot'))
MsgBox(0, '宏 @WindowsDir', @WindowsDir)

评分

参与人数 2金钱 +20 收起 理由
mytli + 10 呵呵,水员回来了
cxlater + 10

查看全部评分

您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-20 20:45 , Processed in 0.085009 second(s), 26 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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