UDF > WinAPIEx > ShellPath >


_WinAPI_PathCreateFromUrl

Convertit une URL de fichier en un chemin Microsoft MS-DOS

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

Param�tre

$sUrl L'URL.

Valeur de retour

Succ�s: Retourne le chemin d'acc�s MS-DOS.
�chec: Retourne la cha�ne vide et d�finit @error <> 0, @extended peut contenir le code d'erreur HRESULT.

Voir aussi

Consultez PathCreateFromUrl dans la librairie MSDN.

Exemple

#include <WinAPIShPath.au3>

Local $sPath = @ScriptFullPath

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

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