Subject: [DUG]: Limitation of Findfirst, look for alternative
From: "Cheng Wei" <[email-masked]>
To: Multiple recipients of list delphi <[email-masked]>
Date: Fri, 8 Dec 2000 09:56:53 +1300

G'Day all,

function FindFirst(const Path: string; Attr: Integer; var F: TSearchRec):
Integer;

The Path parameter excepts a valid directory string, eg.
Findfirst('\\IT_Support\KnowledgeBase', Attr, F) works just fine. However if
I pass the machine name only - Findfirst('\\IT_Support', Attr, F), it
returns ERROR_PATH_NOT_FOUND.

Could someone suggest a correct method of retrieving TOP LEVEL directory and
file information of a remote machine?

Regards
Cheng

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [email-masked]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [email-masked] 
with body of "unsubscribe delphi"