t:\Programs\ghost11\files\ghost32.exe -clone,mode=restore,src=k:\images\sample.gho,dst=1 If I run just the executable part (t:\Programs\ghost11\files\ghost32.exe) it runs fine. Once I add the switches, it fails.
What I'm finding is that whenever I attempt to launch a command line - for example, the entire "ghost32.exe -mode=load src=c:\image.gho etc..." it fails. Usually I get a "the user cancelled this command" or something like that. It seems to be related to the use of spaces in the variables building the command. I can launch the executable itself without issue, but try to add the switches to it and it fails.
This is a good start, as I've been looking for something similar. I'm unclear on where the files you provided would actually go, however. And the "z:\winpe" structure is a little hazy to me as well. Perhaps a screenshot of the explorer tree would help? I think it's: z:\winpe z:\winpe\dell z:\winpe\dell\image1.lnk z:\winpe\dell\image1.htm z:\winpe\dell\image2.lnk z:\winpe\dell\image2.htm Is that correct? And the images themselves can be elsewhere as defined by the shortcuts, yes?