www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/03/22:38:16

From: tomw AT tsys DOT demon DOT co DOT uk (Tom Wheeley)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Win95 LFN in DOS7/6 (Was: Re: Using Windows95 VFAT .vxd with DJGPP)
Date: Sat, 04 Jan 97 00:43:15 GMT
Organization: Adventures and Diving
Lines: 20
Message-ID: <852338595snz@tsys.demon.co.uk>
References: <19970102212904 DOT AAA23602 AT w-r-carr> <32cc9b29 DOT 40887798 AT news DOT mcs DOT net>
Reply-To: tw104 AT york DOT ac DOT uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Friday, in article <32cc9b29 DOT 40887798 AT news DOT mcs DOT net>
     locke AT mcs DOT net "Peter Johnson" wrote:

> Actually, there IS a way to access LFN under ANY dos.. I even have a
> utility that displays a directory (dir clone) AND displays LFNs, just
> like under Win95 GUI.  The secret: Hacking the filesystem itself.
> There's no API, just 'straight' access.  Hmm.. perhaps I should take
> that code, port it to DJGPP, and write a patch for the DJGPP LFN
> functions.. wonder if anyone would be interested in that :)

It's also really quite a dodgy method, and I presume you have to be careful
not to run into the LOCK "feature" for Long Filename Preservation...

:sb)   please send mail to <tw104 AT york DOT ac DOT uk>   http://www.york.ac.uk/~tw104/
--
#include <stdio.h>                  /* The .splitbung super .sig system! */
#include <string.h>
main(){FILE*f;int c[1];char s[99];puts("sig:");fgets(s,99,stdin);if(!*c=strchr(s
,'\n'))s[c=0;f=fopen(s,"r");while((c=getc(f))!=EOF)putchar(c);f&&fclose(f)

- Raw text -


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