# Function Reference

# _WinNet_GetUniversalName

Converts drived based path to universal form

#include <WinNet.au3>
_WinNet_GetUniversalName ( $sLocalPath )

## Parameters

$sLocalPath | Drive based path for a network resource

## Return Value

Success: | an array with the following format: $aPath[0] - UNC name string that identifies a network resource $aPath[1] - Name of the network connection $aPath[2] - Remaining path string
Failure: | sets the @error flag to non-zero.

## See Also

Search WNetGetUniversalName in MSDN Library.