www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/03/13/00:31:46

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: dos-man 64 <ChairShot AT mail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Is there some way to convert long filenames to short filenames?
Date: Thu, 12 Mar 2009 22:25:54 -0700 (PDT)
Organization: http://groups.google.com
Lines: 19
Message-ID: <275d23ac-69e7-4da0-88a0-a807a182477e@a39g2000yqc.googlegroups.com>
NNTP-Posting-Host: 65.78.101.94
Mime-Version: 1.0
X-Trace: posting.google.com 1236921954 16700 127.0.0.1 (13 Mar 2009 05:25:54 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Fri, 13 Mar 2009 05:25:54 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: a39g2000yqc.googlegroups.com; posting-host=65.78.101.94;
posting-account=KWQMBgkAAACyIBKFFEyMPc0WiKp5u-pU
User-Agent: G2/1.0
X-HTTP-UserAgent: Opera/9.63 (Windows NT 5.1; U; en) Presto/2.1.1,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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