How do I unmount a volume (USB flash drive) via command-line or Visual Basic script?
Check out the two following Windows utilities:
From a batch script, the easiest way is to call USB Disk Ejector. (Sync might work too, but it wants a drive letter, which is not always predictable.)
You can use DevEject.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago