Seeking a method to "read" a DOS directory

Leonard Erickson leonard at bucket.UUCP
Mon Mar 28 14:58:04 AEST 1988


In article <1001 at mcgill-vision.UUCP> mouse at mcgill-vision.UUCP (der Mouse) writes:
<recall.)  Unfortunately, the match routine is rather badly broken.
<Asking for *C.*, for example, will return the same thing as *.*,
<regardless of whether the names in the directory contain `C'.  Or at

It is behaving correctly. MS-DOS wildcards are not like UNIX wildcards.
"*" is translated as "fill rest of [filename,extension] with "?". So 
*C* becomes ???????. 

anything after a * is ignored...

-- 
Leonard Erickson		...!tektronix!reed!percival!bucket!leonard
CIS: [70465,203]
"I used to be a hacker. Now I'm a 'microcomputer specialist'.
You know... I'd rather be a hacker."



More information about the Comp.sys.att mailing list