uncname

return the UNC name for a specified file 

Command


SYNOPSIS

uncname [-ls] filename...


DESCRIPTION

uncname returns the UNC name which refers to the specified file. Local files return a UNC name of the form

\\.\X:\file

where X is the local drive letter, and file is the full path name of the specified file.

Options

-l 

returns the LAN manager share point, in the form \\computername\sharepoint.

-s 

returns the server name. If both the -l and -s options are used, the -s option takes precedence.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


PORTABILITY

Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.


AVAILABILITY

PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.