Jump to content

Recommended Posts

Posted

Hi everybody

I have problem when use DriveGetDrive("type")

It work well on Windows XP

but not working with Windows 7

code

$dr = DriveGetDrive("REMOVABLE")
MsgBox(0,"USB","Found " & $dr &" drive")

Result in Windows 7

Posted Image

Plenty hope you helps

Posted

Thank you, I also found them :)

$var = DriveGetDrive( "Removable" )
If NOT @error Then
        MsgBox(4096,"Drive " , $var[1])
EndIf

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
×
×
  • Create New...