🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #466

Re: DosFindFirst with HPFS names ?

#466
From: Wiliam BONNER
Date: Wed, 11 Apr 1990 17:40
15 lines
1043 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 ?
> When I use DosFindFirst, increasing the FILEFINDBUF structure, it doesn't
> work...  Do I have to put a non-zero value in the last argument,
> documented as "Reserved" ?

The way to get long filenames in OS/2 1.2 is to use the DosFindFirst2 
function instead of the DosFindFirst function.

Actually, I just realized that my last program to use the findfirst/findnext
functions worked fine with long filenames, and I used the older version.

I am using the 1.2 SDK and C 6.0 though.  

Wim.
Technical Details
Message-ID: <54035@microsoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!microsoft!t-willb
References: <90098.181854ARMENGAU@FRECP12.BITNET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!microsoft!t-willb
From: t-willb@microsoft.UUCP (Wiliam BONNER)
Newsgroups: comp.os.os2
Subject: Re: DosFindFirst with HPFS names ?
Summary: Getting long filenames in OS/2.1.2
Message-ID: <54035@microsoft.UUCP>
Date: 11 Apr 90 17:40:03 GMT
References: <90098.181854ARMENGAU@FRECP12.BITNET>
Organization: Microsoft Corp., Redmond WA
Lines: 15