Page 1 of 1

SC get("drives",

Posted: 13 May 2013 20:30
by serendipity
I have 3 external drives that are removable, but this script:

Code: Select all

text get ("drives",2);
returns nothing. While with parameter for fixed drives-3, returns all drives, local drives plus external ones.

Is there a way for XY to tell me which drive is USB and which is not?

btw, I am trying all this to assign specific icons to local vs external drives for easy identification.

Re: SC get("drives",

Posted: 13 May 2013 20:49
by admin
No chance, I pass on what Windows reports.

Re: SC get("drives",

Posted: 13 May 2013 23:27
by serendipity
OK, i thought you could get that info somehow programatically.
After some searching seems like diskpart can get this info, not sure how much control you have over this. anyway, lo-prio. no big deal.