Date: Sun, 3 May 1998 18:00:52 +0300 (IDT) From: Eli Zaretskii To: B R Haynes cc: djgpp AT delorie DOT com Subject: Re: Long file name problem with DJGPP find.exe command In-Reply-To: <1998Apr30.142853.27162@leeds.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 30 Apr 1998, B R Haynes wrote: > find . -name "*" -print > c:/djgpp/bin/find.exe: virtual memory exhausted > > SET LFN=N removes the problem I would guess that your DOS box has a low DPMI memory setting. When you set LFN=n, `find' gets shorter file names, and thus needs less memory to store its data structures when it reads your disk. Incidentally, I think `find' is a wrong tool for this job. If you only need to list all the files on your disk, then the following is a better way: ls -liR .