The Microsoft Windows UNC, short for Universal Naming Convention or Uniform Naming Convention, specifies a common syntax to describe the location of a network resource, such as a shared file, directory, or printer. The UNC syntax for Windows systems has the generic form:
\\ComputerName\SharedFolder\ResourceMicrosoft often refers to this as a "network path".
Some Microsoft Windows interfaces also allow or require UNC syntax for WebDAV share access, rather than a URL. The UNC syntax is extended with optional components to denote use of SSL and TCP/IP port number, a WebDAV URL of http://HostName/SharedFolder/Resource
becomes
Note: The UNC syntax sometimes appears written with slashes. Microsoft Windows treats slashes and back slashes in this context as equivalent. However, many programs will accept only backward slashes, and some will only accept double backslashes (i.e. \\\\ComputerName\\SharedFolder), especially in quoted string-constants, due to the standard use of backslash as an escape character.
When viewed remotely, the "SharedFolder" may have a name different to that a program on the server sees when opening "\SharedFolder". Instead, the SharedFolder name consists of an arbitrary name assigned to the folder when defining its "sharing".
Some Microsoft Windows interfaces also accept the "Long UNC":
\\?\UNC\ComputerName\SharedFolder\ResourceMicrosoft Windows uses the following types of paths:
- local file system (LFS), such as
C:\File
- uniform naming convention (UNC), such as
\\Server\Volume\File
- long UNC or UNCW, such as
\\?\C:\File
or\\?\UNC\Server\Volume\File
In versions of Windows prior to Windows XP, only the APIs that accept "Long UNC" could accept more than 260 characters.
The shell in Windows XP and Windows Vista, explorer.exe, allows path names up to 248 characters long.
Read more about this topic: Path (computing)
Famous quotes containing the words uniform, naming and/or convention:
“Odors from decaying food wafting through the air when the door is opened, colorful mold growing between a wet gym uniform and the damp carpet underneath, and the complete supply of bath towels scattered throughout the bedroom can become wonderful opportunities to help your teenager learn once again that the art of living in a community requires compromise, negotiation, and consensus.”
—Barbara Coloroso (20th century)
“Husband,
who am I to reject the naming of foods
in a time of famine?”
—Anne Sexton (19281974)
“Every one knows about the young man who falls in love with the chorus-girl because she can kick his hat off, and his sisters friends cant or wont. But the youth who marries her, expecting that all her departures from convention will be as agile or as delightful to him as that, is still the classic example of folly.”
—Katharine Fullerton Gerould (18791944)