delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/01/00:46:06

Message-ID: <37CBE9FE.637EB0B4@unb.ca>
From: Endlisnis <s257m AT unb DOT ca>
X-Mailer: Mozilla 4.61 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Can I "alias" gxx with g++ in DOS/DJGPP?
References: <37ca3358 DOT 4780950 AT netnews DOT worldnet DOT att DOT net> <7qdpbk$gij$1 AT nnrp1 DOT deja DOT com> <7qfp4c$g67$1 AT solomon DOT cs DOT rose-hulman DOT edu> <Pine DOT SUN DOT 3 DOT 91 DOT 990831104353 DOT 15530A-100000 AT is>
Lines: 34
Date: Tue, 31 Aug 1999 15:37:00 GMT
NNTP-Posting-Host: 207.179.152.24
X-Trace: news21.bellglobal.com 936113820 207.179.152.24 (Tue, 31 Aug 1999 11:37:00 EDT)
NNTP-Posting-Date: Tue, 31 Aug 1999 11:37:00 EDT
Organization: Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:

> On Mon, 30 Aug 1999, Endlisnis wrote:
>
> >     Shouldn't it be possible to change the LFN for gxx.exe to
> > g++.exe?  What I mean is that the 8.3 filename can be set to
> > 'gxx.exe' and the other to 'g++.exe'.
> I've searched and searched, but I couldn't find any way of pulling out
> such a trick.  Windows doesn't give you any way of telling it just
> what the short 8+3 alias should be.  When you rename a file with an
> LFN-aware rename function, Windows recomputes and changes the short
> alias as well.  And if you rename the short alias (with a non-LFN
> rename function), the long name is nuked (more accurately, the short
> name is copied to the long one).
> If anybody finds a way to do this, please be sure to post here.  It
> will allow to solve several annoying problems that currently have no
> solutions.

    I got some bad news.  I found that Norton DiskEdit (W95 version) can do
this, but Win98 (and probably 95) silently kills any LFN's that don't 'look'
right.  I tried changing the LFN for "gpp.exe" to "g++.exe" and the change
worked.  But when i started Win98 again (because the edit can only be done in
REAL dos), it silently deleted that LFN entry in the directory.  So even if a
free utility like this was made, it wouldn't be usefull.

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT HotMail DOT com
          ICQ: 32959047




- Raw text -


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