Date: Sun, 12 Apr 1998 11:49:27 +0300 (IDT) From: Eli Zaretskii To: dan cc: djgpp AT delorie DOT com Subject: Re: Using djgpp on WINNT In-Reply-To: <6gjbg6$16n4$1@news.cc.ruu.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 9 Apr 1998, dan wrote: > >DJGPP doesn't support long names on > >Windows NT because Microsoft in its infinite wisdom didn't include the > >long file name API in the NT DOS box. > > Well, I'm on thin ice here, but are you sure that that is exactly why the > LFN's don't work on NT? Yes, I am sure. DOS programs can access long file names on Windows 9X by using special functions of the DOS interrupt 21h. These functions aren't supported by the NT DOS box. > At least, LFN's in a DOS-box under NT are quite possible, and work fine > on my NT system. I assume you mean they work with programs like CMD.EXE and others which are supplied with NT. If so, then that's because these programs aren't DOS programs at all. They were compiled as Win32 console apps, and therefore can use the Win32 API to access the files. DOS programs such as what DJGPP generates cannot use Win32.