UNC Path (Concept): Difference between revisions
m Randallkinard moved page UNC Path to UNC Path (Concept): new naming convention |
No edit summary |
||
| Line 1: | Line 1: | ||
<blockquote style="font-size:14pt"> | <blockquote style="font-size:14pt"> | ||
UNC (Universal Naming Convention) is a standard used in Windows for accessing shared network folders. | [https://en.wikipedia.org/wiki/Path_(computing)#UNC UNC (Universal Naming Convention)] is a standard used in [https://en.wikipedia.org/wiki/Microsoft_Windows Microsoft Windows] for accessing shared network folders. | ||
</blockquote> | </blockquote> | ||
These names consist of a host machine name, a share name, and an optional file path. Drive letters (C:, D:, etc.) are not used in UNC path names. UNC paths must be fully qualified, meaning the entire path location must be typed out, starting with the top most directory in the hierarchy (such as the server's name). This disambiguates file and folder locations on one networked machine from another. The UNC convention for Windows paths is as follows: | These names consist of a [https://en.wikipedia.org/wiki/Hostname host machine name], a share name, and an optional file path. [https://en.wikipedia.org/wiki/Drive_letter_assignment Drive letters] (C:, D:, etc.) are not used in UNC path names. UNC paths must be fully qualified, meaning the entire path location must be typed out, starting with the top most directory in the hierarchy (such as the server's name). This disambiguates file and folder locations on one networked machine from another. The UNC convention for Windows paths is as follows: | ||
<code>\\host-name\file_path</code> | <code>\\host-name\file_path</code> | ||
| Line 9: | Line 9: | ||
It is '''''always''''' best practice to use UNC paths. Mapped and local drive references may not be accessible to other users or machines. | It is '''''always''''' best practice to use UNC paths. Mapped and local drive references may not be accessible to other users or machines. | ||
</onlyinclude> | </onlyinclude> | ||
Revision as of 12:48, 18 April 2024
UNC (Universal Naming Convention) is a standard used in Microsoft Windows for accessing shared network folders.
These names consist of a host machine name, a share name, and an optional file path. Drive letters (C:, D:, etc.) are not used in UNC path names. UNC paths must be fully qualified, meaning the entire path location must be typed out, starting with the top most directory in the hierarchy (such as the server's name). This disambiguates file and folder locations on one networked machine from another. The UNC convention for Windows paths is as follows:
\\host-name\file_path
It is always best practice to use UNC paths. Mapped and local drive references may not be accessible to other users or machines.