FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with DIRECTORY() function
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: Problem with DIRECTORY() function
Posted: Mon Feb 20, 2012 12:54 PM
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 (fw): Select all Collapse
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.
Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 208
Joined: Wed Dec 03, 2008 04:48 PM
Re: Problem with DIRECTORY() function
Posted: Mon Feb 20, 2012 03:34 PM

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

Continue the discussion