X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: dos-man 64 Newsgroups: comp.os.msdos.djgpp Subject: Re: Is there some way to convert long filenames to short filenames? Date: Fri, 13 Mar 2009 21:52:49 -0700 (PDT) Organization: http://groups.google.com Lines: 42 Message-ID: <82bac532-15fb-4c20-8721-87b10ff10982@q9g2000yqc.googlegroups.com> References: NNTP-Posting-Host: 65.78.101.94 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1237006369 30139 127.0.0.1 (14 Mar 2009 04:52:49 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sat, 14 Mar 2009 04:52:49 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: q9g2000yqc.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 On Mar 13, 9:27=A0pm, Rugxulo wrote: > Hi, > > On Mar 13, 10:22=A0am, dos-man 64 wrote: > > > On Mar 13, 2:59=A0am, Ster DOT DOT DOT AT aol DOT com wrote: > > > Well, I got it down to 129K. =A0That's not too bad. =A0The original was > > 50K. =A0And this new version is a bit more complex, so it was going to > > get at least a little bigger. =A0As long as it stays down around 100k, > > I'm fine with that. =A0I've got a massive string class that I wrote. > > This is the only application I've ever used it in. =A0Works pretty good= , > > hehe. > > Try "gcc -s -Os -march=3Di386 myapp.c -o myapp.exe" and then "upx --best > --lzma --all-filters myapp.exe", and see if that helps. > > http://upx.sf.net > > Or try UPX-UCL (DJGPP compile) if you're a license purist (a la > Debian) although the LZMA part is the same either way : > > http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/upx/ What is upx? Is that the linker? BTW. I appreciate all the help I have received here. All of you please feel free to download this apparently finished program, and also my string class. For such a simple command line navigational utility, this was a real B***H to program. I only use C when I don't see any other options for using something a little easier. In this case I was getting my ass handed to me in quickbasic, and I quickly realized that all bets were off. I don't know that I could have made this without my string class. I doubt it. Here is the download link to the zip file. http://www.yousendit.com/transfer.php?action=3Dbatch_download&batch_id=3DUm= NMRE9zR3M1UjZ4dnc9PQ Thank you, all.