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 16:35:48 -0700 (PDT) Organization: http://groups.google.com Lines: 33 Message-ID: References: <275d23ac-69e7-4da0-88a0-a807a182477e AT a39g2000yqc DOT googlegroups DOT com> 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 1236987348 5935 127.0.0.1 (13 Mar 2009 23:35:48 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Fri, 13 Mar 2009 23:35:48 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: l39g2000yqn.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, 3:25=A0am, "Rod Pemberton" wrote: > "dos-man 64" wrote in message > > news:275d23ac-69e7-4da0-88a0-a807a182477e AT a39g2000yqc DOT googlegroups DOT com... > > Many of the DJGPP file functions, e.g., open, rename, exec, stat, call a > DJGPP's _truename() which is a specialized wrapper around the LFN API cal= l > that converts between LFNs and SFNs. =A0So, if the environment you're usi= ng > has LFN support, LFN's should be available as DJ stated. =A0Why DJ doesn'= t > ever clarify that the environment also *requires* LFN support to use DJGP= P's > LFN support is beyond me. =A0This issue has come up numerous times... =A0= 50% of > an answer... > I got this working now. The only requirement is I have to set an environment variable LFN=3Dy. It doesn't work if the environment variable isn't set. Thank you for your help. This utility is kicking serious butt now. It's shocking stuff. The whole RHIDE, DJGPP, and GCC package is a really good programming environment. My complements to the authors of these fine programs. I'll be interested in seeing what kind Linux and windows GUI applications can be made using these fine tools. I guess I need to download a more up-to-date version first, hehe. Right now I'm pretty into game design. There's no rush on that. Thanks, dos-man