delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/26/00:39:26

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" <eliz AT gnu DOT org>
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>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2
In-reply-to: <rZcfd.136$5Y6.14@newsfe6-win.ntli.net> (My.address@end.of.post)
Subject: Re: Long file name support
References: <rZcfd.136$5Y6 DOT 14 AT newsfe6-win DOT ntli DOT net>
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

> From: "Mike C" <My DOT address AT end DOT of DOT post>
> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019