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
188 stars 55 forks source link

Quoted arguments not handled correctly #4

Closed candera closed 13 years ago

candera commented 13 years ago

Background

A user reports on this thread that ShadowSpawn does not handle quoted arguments correctly, resulting in the error message Error: Device format is incorrect. Device = Files. The complete command line is as follows:

"D:\Software\ShadowSpawn\W7x64\ShadowSpawn.exe" "C:\Users\John\Documents\Outlook Files" q: robocopy q: D:\Backup\MEDION\My PSTs" "My account.pst" /copyall /np /r:0 /w:0

Expected Behavior

candera commented 13 years ago

Although our code was incorrect, the command line reported by the user contains mismatched quotation marks.