Function Reference


_WinAPI_PathCreateFromUrl

Converts a file URL to a Microsoft MS-DOS path

#include <WinAPIShPath.au3>
_WinAPI_PathCreateFromUrl ( $sUrl )

Parameters

$sUrl The URL.

Return Value

Success: The MS-DOS path.
Failure: Empty string and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search PathCreateFromUrl in MSDN Library.

Example

#include <WinAPIShPath.au3>

Local $sPath = @ScriptFullPath

$sPath = _WinAPI_UrlCreateFromPath($sPath)
ConsoleWrite($sPath & @CRLF)

$sPath = _WinAPI_PathCreateFromUrl($sPath)
ConsoleWrite($sPath & @CRLF)