Creates a root path from a given drive number.
#Include <WinAPIEx.au3>
_WinAPI_PathBuildRoot ( $iDrive )
$iDrive | The desired drive number. It should be between 0 and 25. |
Success | The constructed root path. |
Failure | Empty string and sets the @error flag to non-zero. |
在MSDN中搜索
#Include <WinAPIEx.au3>
Opt('MustDeclareVars', 1)
For $i = 0 To 2
ConsoleWrite(_WinAPI_PathBuildRoot($i) & @CR)
Next