>> Note that there's a funny thing with this: the 8.3 name generated from >> the LFN is not guaranteed to remain constant. Say you create a file >> testtesttest.txt in an empty directory. Its SFN is now testte~1.txt. >> Now create a file testte~1.txt -- this is possible. The SFN of the >> first file is now testte~2.txt. > >I've heard that it is not constant, but I don't know the circumstances >where it changes. If your test case my computer asks me if I want to >overwrite the original file (edited for brevity): The situation where it will change will depend on the directory structure. If the directory structure is FAT, then the 8.3 name will be stored in the directory, along with the LFN. This is part of the Microsoft patent regarding how LFN's are done in FAT directories. If the directory structure is anything else (NTFS, Network drive) then the 8.3 name will be generated on the fly, and be dynamic, hence possibly changing between boot or connection instances. Once a connection is made with a drive, I would expect the 8.3 to remain constant, unless the drive is disconnected due to releasing a network drive map, or a reboot for a local disk. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist