X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <005b01c1f5e1$dfe8b0a0$3364a8c0@tpc2> From: "Hugo Simon" To: References: <016f01c1f5da$d87e0e20$0200a8c0 AT peridot> Subject: Re: Hacking long file names from pure DOS Date: Tue, 7 May 2002 18:11:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Reply-To: djgpp AT delorie DOT com > while (de = readdir(d)) Maybe that readdir is not compatible with long filenames, I newer tried it. You can use findfirst/findnext, it works fine in my application. bye Thorsten