dseaver
IS-IT--Management
- Jul 13, 2006
- 467
The following command works in the command line so that i can restore a volume from acronis trueImage, but when its enclosed in quotes, and place in a script, it wont work.
trueimagecmd /filerestore /asz:1 /index:1 /target_folder:d:\new2
working command above
Dim MyObj
Set MyObj=CreateObject("WScript.Shell")
MyObj.Run "c:\program files\acronis\trueimageworkstation\trueimagecmd.exe /filerestore /asz:1 /index:1 /target_folder:d:\new2"
nonworking script
trueimagecmd /filerestore /asz:1 /index:1 /target_folder:d:\new2
working command above
Dim MyObj
Set MyObj=CreateObject("WScript.Shell")
MyObj.Run "c:\program files\acronis\trueimageworkstation\trueimagecmd.exe /filerestore /asz:1 /index:1 /target_folder:d:\new2"
nonworking script