You can use relative paths only by mapping a UNC path to a drive letter. Besides, file_path must be absolute/fully qualified instead of relative. When file name is specified, the UNC path simply points to the top-level folder of the share. Within a UNC path, the filename refers to a local subdirectory beneath the share section. However, UNC paths don’t contain driver letters, only a label that may reference a particular drive.Īlso read: What Is UNCServer.exe Process and Should I Remove It? Filename In most Windows systems, the built-in share name admin$ refers to the root directory of the OS installation, usually C:\Windows but sometimes C:\\WINDOWS. The share-name section indicates a label created by an administrator or sometimes within the OS. Normally, those hostnames refer to either a Windows PC or a Windows-compatible printer. The server-name consists of either a network name string set by an admin and maintained by a network naming service such as DNS or WINS, or by an IP address. The last component of the path is also referred to as the leaf component. A valid UNC path must include at least 2 path components of the 3,, , and, which are referred to as the first pathname component, the second pathname component, and the third pathname component respectively.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |