Pascal Scripting: ExpandUNCFileName

Prototype:

function ExpandUNCFileName(const FileName: string): String;

Description:

Returns a string containing a fully qualified path name for the file passed in the FileName. A fully qualified path name includes the drive portion of the filename in the UNC format '\\<servername>\<sharename>' if the drive letter is mapped to a network resource instead of a local drive and any directory and subdirectories in addition to the file name and extension.