🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #470

Re: DosFindFirst with HPFS names ?

#470
From: Scott MEANS
Date: Wed, 11 Apr 1990 19:50
23 lines
1247 bytes
In article <90098.181854ARMENGAU@FRECP12.BITNET> ARMENGAU@FRECP12.BITNET (Joel Armengaud) writes:
>How can I get the long file names on an HPFS partition ?

The way to notify the system that your app can cope with long filenames is 
rather obscure, but what you need to do is add the NEWFILES keyword to your
.def file.  Here is a sample def file:

NAME LONGAPP NEWFILES
DESCRIPTION 'App that deals with HPFS file names'

Basically this just sets a bit in your exehdr, and if you have the markexe
utility you can set this bit on any exe you want with the command:

markexe lfns appname.exe

(Caution: if the app doesn't really deal with long filenames this will 
probably cause some undesired effects, but it usually doesn't hurt too much
to experiment.)
-- 
     /\/\
    //\/\\
    \>  </
   S/    \eans
Technical Details
Message-ID: <54039@microsoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!microsoft!smeans
References: <90098.181854ARMENGAU@FRECP12.BITNET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!microsoft!smeans
From: smeans@microsoft.UUCP (Scott MEANS)
Newsgroups: comp.os.os2
Subject: Re: DosFindFirst with HPFS names ?
Message-ID: <54039@microsoft.UUCP>
Date: 11 Apr 90 19:50:24 GMT
References: <90098.181854ARMENGAU@FRECP12.BITNET>
Reply-To: smeans@microsoft.UUCP (Scott MEANS)
Organization: Microsoft Corp., Redmond WA
Lines: 23