Jump to content
Sign in to follow this  
davzell13

Change usb key letter without DriveGetDrive ("REMOVABLE") ?

Recommended Posts

davzell13

Hi,

i use the DriveGetDrive Function to detect my usb key, but it doesn't work for some usb hard drive.

I have an usb hard drive which is detected by windows as an hard drive.

DriveGetDrive also detects this usb hard drive like an simple hard drive.

 

How can i do for detect my usb hard driver like an usb peripheral ? 

 

Thank you in advance

 

PS; excuse my english


 

Share this post


Link to post
Share on other sites
spudw2k
AdamUL

Try using the the DriveGetType function with the $DT_BUSTYPE operation.  It will return "USB" for USB drives.  

 

Adam

 

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.