xForce Posted October 15, 2009 Posted October 15, 2009 Hi everybodyI have problem when use DriveGetDrive("type")It work well on Windows XPbut not working with Windows 7code$dr = DriveGetDrive("REMOVABLE") MsgBox(0,"USB","Found " & $dr &" drive")Result in Windows 7Plenty hope you helps
somdcomputerguy Posted October 15, 2009 Posted October 15, 2009 Function DriveGetDrive returns an Array. So perhaps you're coding incorrectly. See the helpfile link, it explains usage better than I could.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
xForce Posted October 15, 2009 Author Posted October 15, 2009 Thank you, I also found them $var = DriveGetDrive( "Removable" ) If NOT @error Then MsgBox(4096,"Drive " , $var[1]) EndIf
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