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 PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to