From: "Ben Peddell" Newsgroups: comp.os.msdos.djgpp References: <1046562627 DOT 9a015bc0brunodarocha AT myrealbox DOT com> Subject: Re: about: DOS FILE NAMES LIMITED TO 8 CHARS Lines: 33 X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sun, 2 Mar 2003 22:16:50 +1000 NNTP-Posting-Host: 144.134.90.195 X-Trace: newsfeeds.bigpond.com 1046606611 144.134.90.195 (Sun, 02 Mar 2003 23:03:31 EST) NNTP-Posting-Date: Sun, 02 Mar 2003 23:03:31 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Bruno da Rocha wrote in message news:1046562627 DOT 9a015bc0brunodarocha AT myrealbox DOT com... > > PLEASE: Answer this e-mail to brunodarocha AT myrealbox DOT com > > Dear friends, > > I love to use DJGPP on my projects, but in several > projects I have made with it I needed to use > files with long file names; what I guess is > not possible with DJGPP. > > Somebody knowns how to solve it?! > > Bruno da Rocha Braga > brunorb AT ravel DOT ufrj DOT br > > Federal University of Rio de Janeiro > Brazil > DJGPP can accept long file names under Win9x (and other OSes that implement the Win9x LFN API). I don't think it can under WinNT, unless thay've added the LFN API to the DOS BOX in later versions of WinNT. Programs compiled with DJGPP seem to query the OS as to whether it implements the Win9x LFN API. On the other hand, GCC uses the LFN variable in the DJGPP.ENV file to determine whether or not to use Long File Names (a good thing, since unzip programs tend to truncate the filename in the absence of LFN).