delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/28/20:03:50

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: A funny in windows 95
Date: Thu, 28 May 1998 18:28:33 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 20
Message-ID: <356DE511.18F3@cs.com>
References: <200CC431A78 AT fs2 DOT mt DOT umist DOT ac DOT uk>
NNTP-Posting-Host: ppp134.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Anthony Appleyard wrote:
> 
> 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.

I suppose it's possible that Win95's file system is trying to interpret
that filename as a network redirector?

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | History has the relation to truth    |
|       aka Fighteer I       | that theology has to religion--i.e., |
|   mailto:fighteer AT cs DOT com   | none to speak of.                    |
| http://www.cs.com/fighteer |                    -Lazarus Long     |
---------------------------------------------------------------------

- Raw text -


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