Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello, i want to write a back-up to an external hard disk. for this i use the following DOS codes in a batch file.
__________________________________________
@echo off
CLS%RAMD%:\ghost\ghost.exe -forceusb -clone,mode=pdump,src=1:1,dst=2:1 CToexHD.gho -Z9 -sure -cns (**These lines are all one sentance**)
CALL Quit.bat
exit
__________________________________________%RAMD% is my virtual drive. I have DOS 7.
The procedure doesn't work, what am i doing wrong? Anyone got an idea?
An enemy is not to be underestimated.

Hi,
I don't know what quit.bat does, but it seems like your main line is the one starting with %RAMD%
I guess RAMD is a ramdisk; don't know why you're using a ramdisk nor why the ghost.exe is in a subdirectory on the ramdisk.
BUT, without knowing what "doesn't work" I guess the problem is with the syntax of the ghost command.
You might put a PAUSE after that line and watch to see if there is any error message.
M2
If at first you don't succeed, you're about average.

Quit.bat gives a msg and reboots the PC,
yes %RAMD% is a ramdisk and i put the ghost.exe in the root of the ramdisk now.The problem is that ghost doens't back-up to the external hard disk. I'm nearly 100% sure that the problem lies with the "dst" switch. i've tested the rest so without problems.
i've checked the symantec site how to do this but it doesn't say anything about writing to an external disk.any idea's how the Ghost command syntax should be?
An enemy is not to be underestimated.

No idea about ghost syntax; never used it.
try:
ghost /?
most well written programs have built in help.
What does Symantec say about "dst"?
M2
If at first you don't succeed, you're about average.

DST={drive|file|drive:partition|@MCsessionname|@MTx}
maby this will work then:
dst=2:1:\CToexHD.ghoi'll go try that
An enemy is not to be underestimated.

That might work.
I wonder if the
drive:partition
menas, in your case, second drive:firat partition
If it does and if you have two HDs on IDE, the the USB drive would be the THIRD drive.
Dunno.
***
A minor point: since your quit bat reboots the mschine, there's not much point CALLing it. Because it's not coming back.Nor much point in EXIT.
M2
If at first you don't succeed, you're about average.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |