DuneAgent said:
Red5 said:
*snip*
Hi Red5,
I have the same feature here on Windows Vista 64-bit (compiling C# .Net 2.0 in VS2008).
When searching for "*32*", the returned files also have filenames that do not have "32" in them. Really stange...
The code used:
string[] aFiles = Directory.GetFiles("D:\\Test", "*32*", SearchOption.AllDirectories);
Greetings,
Mark
This is even reproducable in XP SP3 and Server 2003 !
If you have AVG virusscanner installed, try this in C# code:
XP: string[] aFiles = Directory.GetFiles("C:\\Program Files\AVG", "*3*", SearchOption.AllDirectories);
Vista64: string[] aFiles = Directory.GetFiles("C:\\Program Files (x86)\\AVG", "*3*", SearchOption.AllDirectories);
Even in Cmd "dos"-box: "dir *3* /s /b"
And see what is returned:
C:\Program Files (x86)\AVG\AVG8\avgxch32.dll
C:\Program Files (x86)\AVG\AVG8\Icons\background_middle_yellow.gif
C:\Program Files (x86)\AVG\AVG8\Icons\background_middle_orange.gif
C:\Program Files (x86)\AVG\AVG8\Icons\background_top_yellow.gif
C:\Program Files (x86)\AVG\AVG8\Icons\border_bottom_orange.gif
C:\Program Files (x86)\AVG\AVG8\Icons\click_here_yellow.gif
C:\Program Files (x86)\AVG\AVG8\Icons\click_here_orange.gif
C:\Program Files (x86)\AVG\AVG8\Icons\icons_close.gif
C:\Program Files (x86)\AVG\AVG8\Icons\icons_safe.gif
Anybody knows why this happens?
I'm using in both XP and Vista64 the Dutch version of Windows.
The Server 2003 is english.
Thanks,
Mark
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.