Mail Archives: djgpp/1998/05/28/11:46:53
In assembling pathnames it is easy to forget that root level directory names
end in a \, e.g. C:\ , and so to make up a pathname containing two consecutive
\ characters, e.g. C:\\MYFILE.TXT . I have found the hard way that if you call
`AX=0x7160, CX=2 (or 0x8002), int21' to find the longname given the shortname,
if the shortname starts with a drive letter, colon, and TWO \ as above, that
interrupt call takes <<several seconds>> to run even on a very fast new PC,
instead of quickly faulting and exiting.
- Raw text -