Lite Posted January 9, 2010 Posted January 9, 2010 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now