www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/19/14:46:52

From: Anthony Appleyard <anthony DOT appleyard AT dont_spam_me DOT umist DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Long file names in plain DOS
Date: Thu, 19 Mar 1998 09:13:37 -0800
Organization: UMIST
Lines: 22
Message-ID: <35115241.7C4A@dont_spam_me.umist.ac.uk>
References: <6dhcee$6bb$1 AT antares DOT lu DOT erisoft DOT se> <6eggbb$64m$1 AT hyperion DOT triode DOT net DOT au> <1998Mar17 DOT 170144 DOT 6624 AT news> <350EE3DB DOT 4392 AT tssc DOT co DOT nz>
Reply-To: anthony DOT appleyard AT dont_spam_me DOT umist DOT ac DOT uk
NNTP-Posting-Host: aa1.mt.umist.ac.uk
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Martin Stromberg wrote in message
<6dhcee$6bb$1 AT antares DOT lu DOT erisoft DOT se>...
> Is it possible to get long file names in DOS 6.22?

The interrupts (AH=0x1a, AH=0x11, AH=0x12) int 0x21 read the current
directory's entries one at a time. I wrote an EMACS-type text editor
called AAEMACS which has a directory displayer that does this. If you
set the mask to read everything, a Windows 95 longname appears as one
or more entries which are listed as hidden system volumenames.

This works under DOS 6,22, but not under Windows 95, as Windows 95 /
DOS 7's version of the interrupts (AH=0x11, AH=0x12) int 0x21 seems
to skip these `hidden system volumename' directory entries.

WARNING: if you create a file on a floppy under Windows 95 and delete
it under DOS 6.**/earlier, its longname will remain loose on the floppy.
Then if you create a file on that floppy under DOS 6.** or earlier,
that file's entry may be put where the abovementioned deleted file's
entry was, picking up the tramp longname, and your longname list will
end up looking as if the aliens have been at it. One example of this was
a file that I found on someone's floppy, with shortname PAMELA.JPG and
longname outsource.doc

- Raw text -


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