zoukankan      html  css  js  c++  java
  • UNC path

    http://www.emailsignature.eu/phpBB2/how-to-get-a-unc-path-name-t341.html

     

    In a network, the Universal Naming Convention (UNC) is a way to identify a shared file in a computer without having to specify (or know) the storage device it is on. In Windowsoperating systems, Novell NetWare, and possibly other operating systems, the UNC can be used instead of the local naming system (such as the DOS naming system in Windows).

     

    In Windows operating systems, the UNC name format is:

    \servernamesharenamepathfilename


    The share name is sometimes said to logically identify the volume or storage device that the file is on, but the idea is to free the user from having to know this. The path is zero or more
    folder or subfolder names (in other words, the file name may exist directly under the sharename). For example:
     \corp1lawdeptformspatentap.html

    might specify on a server in the corporate main office a shared file (patentap.html) kept with other legal forms that members of a corporation's legal department might download and read or print and use.
    Printers and other devices can also be addressed using UNC.

    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:
    \srvdatafilesharesettings.mdb
    or 
    Code:
    \srvdata"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:           \srvdata    Microsoft Windows-network 

    The command completed successfully. 



    
    
  • 相关阅读:
    巧用border效果
    移动端页面无刷新跳转方法有三种
    word-break和word-wrap的使用和区别
    动态获取移动端视宽,从而结合rem达到适配
    一步一步学习IdentityServer4 (3)自定登录界面并实现业务登录操作
    一步一步学习IdentityServer3 (15) 授权模式那些事
    一步一步学习IdentityServer4 (2) 开始一个简单的事例
    一步一步学习IdentityServer4 (1) 概要配置说明
    Owin 自定义中间件(2)中间件进阶
    一步一步学习IdentityServer3 (14) 启用Https
  • 原文地址:https://www.cnblogs.com/kex1n/p/5773622.html
Copyright © 2011-2022 走看看