Can you add "\." at the end of the path - I don't know if i'll work - I haven't
tried it... (should work !!!)
HTH
Regards
Paul
____________________Reply Separator____________________
Subject: [DUG]: Limitation of Findfirst, look for alternative
Author: [EMAIL PROTECTED]
Date: 08/12/2000 08:56
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"(See attached file: att1.eml)
att1.eml