Problem with DIRECTORY() function

Re: Problem with DIRECTORY() function

Postby ADutheil » 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: 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.
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Problem with DIRECTORY() function

Postby codemaker » Mon Feb 20, 2012 3: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
User avatar
codemaker
 
Posts: 208
Joined: Wed Dec 03, 2008 4:48 pm
Location: Belgrade, Serbia

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 134 guests