Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR, SYS(2000) and Filer all returned wrong results
Message
From
07/12/2006 12:08:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173982
Message ID:
01175748
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
Hi Naomi,

A couple of points. From MS KB210638:

"Existing files using the short name format will still be available to 32-bit programs, but all files created after this change is implemented will be unavailable to older 16-bit programs."

This was not an issue for us because we empty the folder at the end of each month. You might need to copy ALL the files to a new folder, then back to the correct folder to remove EXISTING short file names.

KB210638 also states that the server must be rebooted for the changes to take effect. You might confirm that the server was rebooted.

Bruce

>Hi Randall,
>
>My manager told me he disabled the short names generation, but I just tried adir again and got the same bad results. Does it have to be disabled not only on the server, but on the local PC as well?
>
>>Hi again, Noami.
>>
>>>As I understood from this thread:
>>>
>>>1) If you're searching for *Mask*.Ext and you have shortnames generation enabled, you may receive
>>>false positives. Bruce in his last message pointed to an article about registry setting to change
>>>and Juri added another method to do this as well.
>>>
>>>2) If you're searching for *Mask*.* you may find Mask in the extension.
>>>
>>>Hopefully this summarizes this thread <g>.
>>
>>LOL! :^) :^). This is pretty much what I got out of it too, except that I thought I
>>remembered reading a thread article that said there is a definite bug and a work
>>around. For some strange reason, I still have this "you have to have at least this
>>many files" stuck in my head or something. I wonder how this could have happened?
>>(BIG GRIN!...just picking on you, Naomi! :^) :^)
>>
>>Seriously, I'm just glad to know that it's a bug and how to avoid the thing! :^)
>>
>>Best Regards,
>>
>>Randall
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform