Borje Posted April 8, 2017 Share Posted April 8, 2017 (edited) Hi all autoit users I need little help with this code what i want isthe result that I have in StringUpper(aDrives[$i] I want to have in a new variabel example $drive I dont know how I do it ? Excuse me for my bad english.. $aDrives = DriveGetDrive("Removable") For $i = 1 To UBound($aDrives) -1 If DriveGetLabel($aDrives[$i]) = "backup52" Then MsgBox(0, "Result", StringUpper($aDrives[$i])) EndIf Next Edited April 8, 2017 by Borje Link to comment Share on other sites More sharing options...
232showtime Posted April 8, 2017 Share Posted April 8, 2017 $aDrives = DriveGetDrive("Removable") For $i = 1 To UBound($aDrives) -1 If DriveGetLabel($aDrives[$i]) = "backup52" Then $adrive = StringUpper($aDrives[$i]) MsgBox(0, "Result", $adrive) EndIf Next I havent run above code just try it. ill get to that... i still need to learn and understand a lot of codes Correct answer, learn to walk before you take on that marathon. Link to comment Share on other sites More sharing options...
Borje Posted April 8, 2017 Author Share Posted April 8, 2017 Thank you so much 232showtime That works perfect thank you again... Link to comment Share on other sites More sharing options...
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