Creates a root path from a given drive number
#include <WinAPIShPath.au3>
_WinAPI_PathBuildRoot ( $iDrive )
$iDrive | The desired drive number. It should be between 0 and 25. |
Success: | The constructed root path. |
Failure: | Empty string. |
Search PathBuildRoot in MSDN Library.
#include <WinAPIShPath.au3>
For $i = 0 To 2
ConsoleWrite(_WinAPI_PathBuildRoot($i) & @CRLF)
Next