delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/31/00:01:39

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: long filenames under Windows NT
Date: Fri, 31 Oct 1997 11:12:53 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 26
Message-ID: <3459BD35.37F8@cs.com>
References: <34594EF0 DOT 260 AT genesis DOT co DOT nz>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp221.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Bickerstaff wrote:
> 
> I have a makefile of unix origin which contains some long filenames.
> When I built DJGPP under Windows 95 I found that I had to set LFN=y
> in the DJGPP.ENV as per the FAQ. However, the same thing does not work
> under Windows NT 4.0. I've verified that the problem is indeed with
> the long filenames by manually editing the makefile to use the short
> versions. Setting LFN via the Control Panel/System/Environment does
> not work either. Is there a fix? (Am using DJPP ver 2.01.).

Unfortunately, Windows NT 4.0 does not support the required API for DOS
programs to use long filenames.  This is quite simply an inherent
limitation of NT, and does not have anything to do with DJGPP
specifically.  The FAQ discusses the problem in chapter 3.3.

Some users have recently discussed some possible ways to circumvent the
LFN restrictions in WinNT's DOS shell.  If you're interested in this
effort, try searching the mailing list archives.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Be wary of strong drink.  It can    |
|       aka Fighteer I       | make you shoot at tax collectors--   |
|   mailto:fighteer AT cs DOT com   | and miss."                           |
| http://www.cs.com/fighteer |                 - Lazarus Long       |
---------------------------------------------------------------------

- Raw text -


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