From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: long filenames for dos? unix<-.>pc Date: Mon, 28 Jul 1997 20:09:03 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 34 Message-ID: <33DCFC5F.207C@cs.com> References: <5rj0hq$h2 AT salmon DOT maths DOT tcd DOT ie> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp107.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Steve no underscores wrote: > > I'm writing a program on my old home dos machine > and the college unix boxes. But my long filenames > get chopped when I transfer back & forth. > > Of course I'll install bsd/linux when I get a new > machine but until then is there a TSR which will > pretend that files have long names? All you need is a file transfer utility that recognizes and handles long filenames. Unix 'zip' will store files with the correct filenames; you should find a PC-compatible zip/unzip program that handles them correctly. I believe that the latest version of WinZip for Windows 95 will do this. If you are limited to a DOS environment, then you have limited choices. The Info-Zip people have written a zip utility that can handle being fed long filenames on the DOS end, even if they are not available in the environment. Also, if you would like to invest the download time, all DJGPP-compiled programs can handle the long filename API when run under Windows 95 (simply set LFN=Y in the environment). In fact, the Info-Zip sources can be built under DJGPP with minor modifications (search the mailing list archives for a post by Eli Zaretskii on this subject). hth -- --------------------------------------------------------------------- | John M. Aldrich | "It may be better to be a live jackal| | aka Fighteer I | than a dead lion, but it is better | | mailto:fighteer AT cs DOT com | still to be a live lion." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------