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. 



    
    
  • 相关阅读:
    golang plugin插件的使用
    UE4 是如何渲染每一帧画面的
    虚幻4 Gbuffer
    学习一下虚幻4
    关于 Kapacitor 和 TickScript 的笔记
    SpringOne2020
    TICK Telegraf InfluxDB Chronograf Kapacitor 参考资料
    【转】高考英语常考短语100条
    「面试」拿到B站的意向书
    使用ABAP操作office Word文档
  • 原文地址:https://www.cnblogs.com/kex1n/p/5773622.html
Copyright © 2011-2022 走看看