Identifies the shared directory associated with a network drive. The UNC path corresponding to the letter of the specified drive is returned.
// Identify the directory associated with the letter "E:"
// For example \\Sdoc\Doc
ResDirName = NetworkDirName("E:")
<Result> = NetworkDirName(<Drive letter>)
<Result>: Character string
- Name of the directory associated with the specified network drive. The name of the directory can correspond to a UNC path.
- Empty string ("") if the specified drive is not a network drive.
<Drive letter>: Character string
Network drive to handle, in the following format: "<Drive Letter>:".