Path: 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 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.