ptt Posted May 3, 2007 Share Posted May 3, 2007 Hello All, i make a code to search for *.sys in @systemdir using _filelisttoarray in windows vista 64 ...it cant show any file........ But if i copy that file on the desktop and search then it show.... Is it cuz the folder is protected with some files ? Would you show me how to fix it I used this script _FileListToArray(@winsysdir, "*.sys") tx in advanced, Link to comment Share on other sites More sharing options...
MadBoy Posted May 4, 2007 Share Posted May 4, 2007 (edited) I'm not realy sure if it's that issue here but from what Help file says:AutoIt is a 32-bit application, so running under a Windows 64-Bit edition will access by default file and registry compatible information.(An x64 version is in beta and can be found at http://www.autoitscript.com/autoit3/files/beta/autoit/) For Files, Windows has a special redirection mechanism for some system directories. DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1) Some more information can be found at MSDN. For registry, use HKCR64 or HKLM64 to bypass the redirection mechanism see Registry Functions documentation.Maybe that's the thing? Search for Running under Windows 64-bit Edition in Help File for full information.Ps. Where did you got @winsysdir. I can't find it in HelpFile? Edited May 4, 2007 by MadBoy My little company: Evotec (PL version: Evotec) Link to comment Share on other sites More sharing options...
ptt Posted May 4, 2007 Author Share Posted May 4, 2007 Sorry Madboy , it is @systemdir. Let me read more the link to find out. Thank you.I'm not realy sure if it's that issue here but from what Help file says:Maybe that's the thing? Search for Running under Windows 64-bit Edition in Help File for full information.Ps. Where did you got @winsysdir. I can't find it in HelpFile? Link to comment Share on other sites More sharing options...
ptt Posted May 4, 2007 Author Share Posted May 4, 2007 I got it working now . Thank you again Madboy. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now