Function Reference


_WinAPI_PathBuildRoot

Creates a root path from a given drive number

#include <WinAPIShPath.au3>
_WinAPI_PathBuildRoot ( $iDrive )

Parameters

$iDrive The desired drive number. It should be between 0 and 25.

Return Value

Success: The constructed root path.
Failure: Empty string.

See Also

Search PathBuildRoot in MSDN Library.

Example

#include <WinAPIShPath.au3>

For $i = 0 To 2
        ConsoleWrite(_WinAPI_PathBuildRoot($i) & @CRLF)
Next