Hello Autoit Community
I have Problem with DriveGetDrive( "NETWORK") on Windows Vista and Windows 7.
If start the same code with #RequireAdmin on Computer then DriveGetDrive( "NETWORK") faild.
without works it perfect. Can everbody help ?
Tested with Autoit V3.3.2.0 Is it Autoitbug ?
; (with #RequireAdmin ) Does not work on Win Vista / Win 7
#RequireAdmin
$var = DriveGetDrive( "NETWORK")
if not @error then
For $i = 1 to $var[0]
$maped_path=DriveMapGet($var[$i])
msgbox(0,$var[$i],$maped_path)
Next
endif
exit
; (without #RequireAdmin )work on Win Vista / Win 7
$var = DriveGetDrive( "NETWORK")
if not @error then
For $i = 1 to $var[0]
$maped_path=DriveMapGet($var[$i])
msgbox(0,$var[$i],$maped_path)
Next
endif
exit
Regards
lite