universal_file_name
string = universal_file_name(path)
This function returns the universal naming convention (UNC) name for the drive-based network path name path. The path parameter should refer to a remote file system that has been mounted as a local drive or a drive mapped using the Windows subst command. If path is not a network path, the absolute file name, possibly drive-based, is returned.
Example
$ret = universal_file_name('f:\users\george')
Related Topics