Borje

[solved] Needed Little help please with a array

3 posts in this topic

#1 ·  Posted (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 by Borje

Share this post


Link to post
Share on other sites



#2 ·  Posted

$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 graduated.gif

Correct answer, learn to walk before you take on that marathon.

Share this post


Link to post
Share on other sites

#3 ·  Posted

Thank you so much 232showtime

That works perfect thank you again...

 

 

 

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now