I was hoping to use it for just a directory - but even specifying a filename doesn't work...
Regards Paul McKenzie ========================= Paul McKenzie Jetbet II Developer ========================= [EMAIL PROTECTED] Ph: (04) 576-6822 T.A.B. National Office 106-110 Jackson Street Petone New Zealand ____________________Reply Separator____________________ Subject: RE: [DUG]: UNC Path Names Author: [EMAIL PROTECTED] Date: 16/11/2001 12:37 Sorry Paul I don't know the answer, but assume that you will probably have to iterate through the drives and look for a match for matching UNC name. The ExtractFileDrive is meant to extract the drive letter from a file name eg. D:\MyDir\Stuff.txt -> D:\ \\MyServer\MyDir\Stuff.txt -> \\MyServer\MyDir Regards, John --------------------------------------------------------------------------- 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" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/(See attached file: att1.eml)
att1.eml
Description: Binary data