Sign in Join
FPDoc Onlineexperiment

ExpandUNCFileName function

In unit sysutils

Expand a relative filename to an absolute UNC filename.

Declaration

pascal
function ExpandUNCFileName(const FileName: UnicodeString)
: UnicodeString

Description

ExpandUNCFileName runs ExpandFileName on FileName and then attempts to replace the drive letter by the name of a shared disk.

Errors

If an unexpected error occurs while determining the name of the shared disk, an empty string is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.