找回密码
 加入
搜索
查看: 2764|回复: 5

[AU3基础] 【已解决】AU3在X64系统复制文件问题

  [复制链接]
发表于 2012-10-4 08:55:43 | 显示全部楼层 |阅读模式
本帖最后由 yinbinly 于 2013-1-6 08:36 编辑

先贴出代码
FileCopy(@ScriptDir & "\BackgroundDefault.jpg",@SystemDir & "\oobe\info\Backgrounds\backgroundDefault.jpg",9)
本人想复制一个文件到 系统32目录,在64位下运行,使用X86编译结果复制到SYSYWOW64目录下  什么64编译就没事 ,本人想用X86编译实现  并且使用@WindowsDir\sysytem32效果是一样的也是复制进SYSWOW64
 楼主| 发表于 2012-10-5 12:01:46 | 显示全部楼层
没人回答一下吗?太伤心了
发表于 2012-10-8 21:31:50 | 显示全部楼层

支持不得不顶一下楼主!

8错8错,支持~~~


















防辐射服哪个牌子好
发表于 2012-10-12 21:28:28 | 显示全部楼层
回复 2# yinbinly


    Running the 32-bit version of AutoIt on a x64 System
For Files, Windows has a special redirection mechanism for some system directories :

Directories 32-bit Value 64-Bit Value
@SystemDir @WindowsDir & "\SYSWOW64" @WindowsDir & "\System32"
@ProgramFilesDir {SystemDrive} & "\Program Files (x86)" {SystemDrive} & "\Program Files"

It is possible to access the 64-bit version of those directories by disabling the redirection mechanism.

DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1)
 楼主| 发表于 2012-10-13 21:16:48 | 显示全部楼层
回复 5# 半芯竹


    大哥你太狠了,全是英文GOOGLE了半天看懂了 但是不行啊
发表于 2013-3-20 15:45:52 | 显示全部楼层
顶,学习中
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-29 09:34 , Processed in 0.096015 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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