candera / shadowspawn

A Windows utility that mounts a shadow copy of the disk at a drive letter and then spawns an arbitrary command.
MIT License
184 stars 55 forks source link

Ensure drive letter isn't mounted before attempting to use it #3

Closed candera closed 13 years ago

candera commented 13 years ago

Background

Currently, ShadowSpawn attempts to mount the specified path at the designated drive letter regardless of whether anything is already mounted there. This could lead to the drive letter being in a weird state, or to ShadowSpawn unmapping a drive that is already mapped.

Expected Behavior