>I suppose this has been broken for years. >I'd swear I'd used it recently. > > DIR etc > >no longer returns what you'd expect of olde time. Why, what does it actually return ?? >And > > DIR ABCD???3.JPG > >returns files with abcdef~3.JPG short file names. I would expect that, after all it is a valid file name. >I suppose you can alter this behaviour somewhere but it's not yet >obvious (to me) how. >Very annoying. Well, in the first case, if you are looking for a long file name I would expect to use a * instead of ????, as the question marks are only going to look for 4 extra characters, and if there are more than 4 then the name does not match. In the second case the *~3.* filename matches a short filename in the directory. Again, if looking for a long filename I would use ABCD*3.JPG and you would probably find both the short and long filenames. In any event I do not know of any means of forcing DOS (I assume you mean a DOS box on a 32 bit system) to look at only long filenames. However there are different command interpreters for using only short filenames to those that use long filenames. IIRC COMMAND.EXE uses only short file names CMD.EXE uses long file names. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist