X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Tue, 26 Oct 2004 06:32:30 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c4bb14$Blat.v2.2.2$f3922dc0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: (My.address@end.of.post) Subject: Re: Long file name support References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Mike C" > Date: Mon, 25 Oct 2004 20:02:31 GMT > > The problem is that if the source is > > d:\windows folder1\windows folder2\File with a long name.log > > then the target file is > > d:\window~1\window~2\File w~1.Prs This is a misfeature of Windows: when a file is dropped on a DOS program, it gets a short 8+3 alias of the long file name. To work around that, use the subfunction of Int 21h function 7160h that returns a long variant of the 8+3 short file name.