delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/04/09:21:25

From: eglebbk AT dds DOT nl (Evert Glebbeek)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: info.exe w/o LFN
Date: Fri, 04 Aug 2000 10:42:51 GMT
Organization: Physics student, University of Amsterdam
Lines: 37
Distribution: world
Message-ID: <398a9933.5169843@news.wins.uva.nl>
References: <398A58C1 DOT FEE351A6 AT ma DOT tum DOT de>
NNTP-Posting-Host: stol-117-166.uva.studentennet.nl
X-Trace: info.wins.uva.nl 965385643 29201 145.98.117.166 (4 Aug 2000 10:40:43 GMT)
X-Complaints-To: usenet AT science DOT uva DOT nl
NNTP-Posting-Date: Fri, 4 Aug 2000 10:40:43 +0000 (UTC)
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Newsgroup: comp.os.msdos.djgpp
 From: Waldemar Schultz <schultz AT ma DOT tum DOT de>
 On Fri, 04 Aug 2000 07:46:41 +0200

>Sorry if this is a FAQ (I didn't find the answer):
>How do I use info.exe in pure DOS without LFN support,
>but the download of DJGPP was in a DOS-box _with_ LFN.
>i.e. there are files like $(DJDIR)\info\utils~1.inf (LFN: utils.info)
This is in the FAQ, actually. In my local copy of the FAQ (which is
probably outdated, but this info should still work) it's in section
22.18: setting up a dual DOS/Windows installation. Be sure to read it
carefully before you proceed.

Quoting the DJGPP faq:
>  *   From the "Start" menu select "Run" and type regedit, to start the Registry Editor. 
>  *   Expand the HKEY_LOCAL_MACHINE branch of the registry until you see in the left pane an item called
>     HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem, then click on it. 
>  *   The right pane now shows the list of values assigned to the FileSystem key. If you don't see an item there
>     called NameNumericTail, select "New", "Binary Value" from the "Edit" menu, then type NameNumericTail
>     and it will appear. Now double-click on NameNumericTail and enter a value of 0. 
>  *   Exit regedit and restart Windows 9X. 

This will turn names like LongFileName.LongExtension into longfile.lon
instead of longfi~1.lon.

Alternatively, you can create two copies of the same file:
utils.info and utils.inf. The first will be found under Windows, the
second under DOS. Not pretty, but it works.

Oh, you can also reinstall DJGPP with an unzipper that doesn't extract
long filenames, but IIRC, some C++ headers have names over 8
characters long, and this will give you problems with them while
running under Windows, although it will work then under DOS. Urgh.

HTH,

Evert Glebbeek

- Raw text -


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