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?
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.
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
This VBS script will do it:
Reference - DevGuru
Here's how you might do this using WinTask and the Win32 API GetDriveTypeA.