Jesper Frier Certified Professional


Joined: 09 Sep 2006 Posts: 1925 Location: Stoevring, Denmark
|
| Posted: Wed Aug 01, 2007 10:04 am Post subject: How to get a UNC path name? |
|
|
UNC stands for "Uniform Naming Convention". eMailSignature supports UNC, as opposed to network-mapped drives.
The format of a UNC path is:
| Code: | | \\<servername>\<sharename>\<directory> |
where: <servername> The Network name
<sharename> The name of the share
<directory> Any additional directories below the shared directory.
Examples with an without space in share name:
| Code: | | \\srv\data\fileshare\settings.mdb | or
| Code: | | \\srv\data\"file share"\settings.mdb |
If you need to determine the UNC path to a drive or directory, which contains your settings database, here is a simple way to get the path:
Execute the command "net use" on the computer you wish to translate the mapped drive letters for.
The output from this command will contain the drive letters and their equivalent UNC filenames:
| Code: | C:\>net use
New connections will not be remembered.
Status Local Remote Network
------------------------------------------------------------------------
OK F: \\srv\data Microsoft Windows-network
The command completed successfully.
|
|
|