Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!ncrcom!ncratl!tmeiners From: tmeiners@ncratl.AtlantaGA.NCR.COM (Tedd Meinersmann) Newsgroups: comp.os.os2.programmer Subject: Re: What to do with HPFS? Message-ID: <18491@ncratl.AtlantaGA.NCR.COM> Date: 8 Apr 91 13:04:26 GMT References: Distribution: comp.os.os2 Organization: NCR Engineering and Manufacturing Atlanta -- Atlanta, GA Lines: 21 In so-ecs@stekt2.oulu.fi (Juha Ruotsalainen ti) writes: >How can I get my program to show filenames which have more than 13 >chars. I tried it with DosFindFirst and DosFindNext. DosFindFirst >returned error 206(=too long filename), when I instructed it to find >file called "sailing.ships", and when I use *.* my dear program found >only files with filenames whose length were under 13 chars. I have Use DosFindFirst2 instead of DosFindFirst. Also link the application with a Module Definition File (.DEF) which contain the NAME line. The format of the NAME line is as follows: NAME [appname] [apptype] [NEWFILES] The NEWFILES option indicates the application supports long file name and extended attributes. Refer to MS help on the linker for more detail. -- Tedd.Meinersmann@AtlantaGA.NCR.COM (404)-623-7349 2651 Satellite Blvd. Duluth, GA 30136