Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!ubc-cs!cheddar.cc.ubc.ca!ballard From: ballard@cheddar.cc.ubc.ca (Alan Ballard) Newsgroups: comp.os.os2 Subject: Re: DosFindFirst with HPFS names ? Message-ID: <7487@ubc-cs.UUCP> Date: 11 Apr 90 20:28:31 GMT References: <90098.181854ARMENGAU@FRECP12.BITNET> <54035@microsoft.UUCP> Sender: news@cs.ubc.ca Reply-To: ballard@cheddar.cc.ubc.ca (Alan Ballard) Organization: UBC Computing Centre, Vancouver, B.C., Canada Lines: 19 In article <54035@microsoft.UUCP> t-willb@microsoft.UUCP (Wiliam BONNER) writes: >The way to get long filenames in OS/2 1.2 is to use the DosFindFirst2 >function instead of the DosFindFirst function. The important thing isn't whether you use DosFindFirst or DosFindFirst2, but whether the calling program is marked as "HPFS-aware". There is a new flag in the EXE file header that indicates whether the program is prepared to deal with long file names. This flag can ben set with a grungy little program that patches the header (several are floating around on various systems...), or with the new toolkit, by a specification in the DEF file. Alan Ballard | Internet: Alan_Ballard@mtsg.ubc.ca University Computing Services | Bitnet: USERAB1@UBCMTSG University of British Columbia | Phone: 604-228-3074 Vancouver B.C. Canada V6R 1W5 | Fax: 604-228-5116