Page 2 of 2

Re: Problem with DIRECTORY() function

PostPosted: Mon Feb 20, 2012 12:54 pm
by ADutheil
I suspect the cause of the problem is in Windows OS which handles short-long file names on some way which the function DIRECTORY() interprets wrongly, while following DOS OS.

Did you try to disable 8.3 file name creation?
Code: Select all  Expand view
fsutil 8dot3name set 1
at DOS prompt on windows server. On XP it´s done with regedit32. Set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem to 1.

Re: Problem with DIRECTORY() function

PostPosted: Mon Feb 20, 2012 3:34 pm
by codemaker
No Andre, I didn't try do disable the short name creation. From practical reason. Even if it works, I cannot ask hundreds of my CPA clients to do the same on their machines... :(
So I stick with array additional filtering

regards