www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/04/11/01:04:01

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Sat, 11 Apr 2009 00:38:50 -0400 (EDT)
From: Jude DaShiell <jdashiel AT shellworld DOT net>
To: djgpp AT delorie DOT com
Subject: Re: Is there some way to convert long filenames to short filenames?
In-Reply-To: <275d23ac-69e7-4da0-88a0-a807a182477e@a39g2000yqc.googlegroups.com>
Message-ID: <Pine.BSF.4.64.0904110035170.47846@freire1.furyyjbeyq.arg>
References: <275d23ac-69e7-4da0-88a0-a807a182477e AT a39g2000yqc DOT googlegroups DOT com>
MIME-Version: 1.0
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

The standard way to handle long file names is first 8 characters of long 
file name plus a (.) plus a (~) plus a unique two digit number where first 
eight characters of long file name are identical inside of a single 
directory.  Perhaps this capability may be under short file names in some 
library of the compiler in use I don't know.



On Thu, 12 Mar 2009, dos-man 64 wrote:

> Forgive me if this is common knowledge, but I've always used borland 3
> for ms-dos programming.  I've just used gcc to recompile one of my old
> dos directory changing utilities. I had a little bit of trouble with a
> few of the functions (chdir,getdisk,getcwd), but I worked through
> that. It took a few hours, hehe.
>
> At any rate, this version of the program seems just as clueless about
> long filenames as my old borland executable.  I'm passing a value of
> \program files\  to chdir and it doesn't seem to be able to change the
> directory.  My readings through the docs seemed to indicate that this
> compiler generates dos-based executables that can handle long file
> names.
>
> Also, is there some way to shrink down these executables.  The exe is
> over 300kb. That's six times bigger than the executable that borland's
> compiler spit out.
>
> Thanks,
> dos-man
>
>

- Raw text -


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