fydncom 发表于 2009-4-3 11:48:41

新手的困惑

我会点BAT 但是打开有黑框,所以想学AUTOIT
麻烦大哥们 给个思路
我想运行 Internet Explorer 时候导入1.reg注册表文件
cmd.exe /c 1.exe C:\Program Files\Internet Explorer\IEXPLORE.EXE"
麻烦大哥给个源码 做下参考
1
导入注册表
2
运行1.exe 并运行IEXPLORE.EXE

谢谢

fydncom 发表于 2009-4-3 11:49:47

这个1.exe是让iexplore.exe在普通用户下运行,起防病毒作用

fydncom 发表于 2009-4-3 14:38:36

先不说导入注册表了
cmd /c 1.exe "C:\Program Files\Internet Explorer\IEXPLORE.EXE"

这是bat的代码麻烦给转换下谢谢

不懂autoit:face (30):

风行者 发表于 2009-4-3 14:51:52

run("regedit /s 1.reg")
run("1.exe" & " " & @ProgramFilesDir & "\Internet Explorer\IEXPLORE.EXE")

[ 本帖最后由 风行者 于 2009-4-3 14:55 编辑 ]
页: [1]
查看完整版本: 新手的困惑