On windows XP/7, is there a way to identify from a script (never mind the script language being used) that a disk is not a network or fixed drive?
Tell me more
×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for
software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.
|
This VBS script will do it:
Reference - DevGuru |
|||
|
|
Here's how you might do this using WinTask and the Win32 API GetDriveTypeA.
http://strazzere.blogspot.com/2005/01/wintask-getdrivetype.html |
||||
|
|