Jump to content
Sign in to follow this  
ptt

cant search some files in @systemdir in vista64

Recommended Posts

ptt

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,

Share this post


Link to post
Share on other sites
MadBoy

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 by MadBoy

My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites
ptt

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?

Share this post


Link to post
Share on other sites
ptt

I got it working now . Thank you again Madboy.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×