www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/28/11:46:53

From: "Anthony Appleyard" <MCLSSAA2 AT fs2 DOT mt DOT umist DOT ac DOT uk>
Organization: Materials Science Centre
To: DJGPP AT delorie DOT com, ralf AT pobox DOT com
Date: Thu, 28 May 1998 16:46:10 GMT
Subject: A funny in windows 95
Message-ID: <200CC431A78@fs2.mt.umist.ac.uk>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019