Android smartphone

2009-10-12

How to retrieve the UNC Paths?

This tips comes from our partner SwissDelphiCenter.ch

mailto: info@delphitips.com

Author:
Gustav Evertsson
Ratings: 0, Votes: 0

ExpandUNCFileName returns the full path of the FileName
with the network drive portion in UNC format.
The pathname in the UNC-Format has the format:
\\Servername\sharename

//Example
Label1.Caption := ExpandUNCFileName('K:\sharename.tmp'));

{where "K" is a Network Drive.}

No comments: