I'm trying to do a directory listing of files with filenames consisting of 8 characters followed by a period and a file extension in Windows command shell. The wildcard pattern I'm using is "????????.TIF". This returns ALL filenames with the ".TIF" extension, regardless of the length of the pre-extension portion of the filename. Example:
Returns ABCDEFGH.TIF and ABCDEFGHIJ.TIF
Also returns both files. I would expect only the first one would be returned, since it is the only one of the two that matches the pattern (8 single characters followed by ".TIF".) What is the explanation for this behavior?
Thanks in advance for any replies.