Distinguish fixed hard drives from ext. removable HDs
Posted: 25 Nov 2013 18:46
There's been some past history on this topic, but....I've noticed that using SC get("drives", 2, "|")) will feedback the removable flash drives but not the "removable external" disk (hard) drives, at least not for me. Using get("drives", 3, "|") results in all the fixed "internal" hard drives (in my case example C:\ and D:\), but will also give the external removable USB hard drives like a WD 640 Western Digital external removable USB interface hard drive so the result is C:\|D:\|F:\. Is there any known or established SC way to separate or distinguish the known physical fixed (i.e., in the laptop or desktop (C:\ and D:\) from the "removable external" drives, but not detected as "removal" using get("drives", 2, "|"). Would I have to eliminate the 2 known "physically installed" drives C:\ and D:\, which unfortunately will be different for each computer (so a modified script), from the full list provided using get("drives", 3, "|")? I've been looking, but I don't know of any XY or system variable which give me just the installed fixed hard drives.
Thanks,
Ken
Thanks,
Ken