Date: Sun, 20 Dec 1998 11:44:33 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Ken Arromdee cc: djgpp AT delorie DOT com Subject: Re: Long file names? In-Reply-To: <367c0c71.0@news.inetnow.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On 19 Dec 1998, Ken Arromdee wrote: > >>These utilities display and modify the long names created and used by > >>Windows 95 even if you are not running Windows 95. They can be used to > >>list, modify, save and restore long file names. > >> DIR95 - directory list including Win95 long names > > Okay, has anyone integrated this type of stuff into DJGPP so that DJGPP > utilities can use long filenames in plain DOS? If by ``integrate'' you mean to make library functions support long file names automatically (on plain DOS), then IMHO this is a Bad Idea. Accessing long file names on plain DOS requires to read large portions of disk structure into memory to access the LFN entries. This would tremendously slow down the program and bloat the code of every DJGPP image. I think this kind of task is best handled in a separate library, which people could link in if they need. For example, you could overload the standard definition of __dpmi_int, which serves to issue all DOS (and BIOS) interrupts.