Mail Archives: djgpp/1998/03/19/14:46:52
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 -