M. Adam Davis wrote: >> 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): I used Windows Explorer to create the files. I'm not sure what Explorer does. Possibly it changes the SFN explicitly, or it may use a different API function to create the files than cmd.exe uses and the SFN handling is done by the system. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist