Hi,
Sorry, I may not have been very clear - it was late in the day :-) By the way, colon and D is 'big laugh' smily face and that is probably the reason why it is replaced. So you have the correct command line to assign drive letter D for the CD. I did not noticed it.
I think the first thing you can try is just adding COMSPEC command line. Then copy Command.com to root of both DVDs.
Basically, your autoexec.bat would look like,
@echo off
echo Compaq 6715b ghost image
SET TZ=GHO+08:00
MOUSE.COM
MSCDEX.EXE /D:mscd001 /L:D
rem MSCDEX.EXE /D:mscd001 /L:E
SET COMSPEC=D:\COMMAND.COM
D:
cd ghost
echo Loading Ghost.......
ghost.exe -noide -pfile=c:\ -clone,MODE=pload,src=%CDROM%\6715b.gho:1,DST=1:1 -sure
D:
cd ghost
echo Loading Ghostwalker.......
ghstwalK.exe /FNI /BV=1:1
This would probably work since it does not need to use RAM Drive again. But this is just a work around, not addressing the root cause.
I think the root cause is missing himem.sys in the Conifg.sys file. It is likely that memory is getting overwritten during the operation since there is no himem.sys. You can try adding himem.sys to the config.sys file, and removing COMSPEC setting in Autoexec.bat.
Config.sys should look like (There is a switch testmem: off to prevent himem.sys doing a destructive memory test and corrupting the ram drive),
LASTDRIVE = Z
[COMMON]
Device=Himem.sys /testmem:off
rem DEVICE = usb\uhci.exe
rem DEVICE = usb\ohci.exe
Hope this will help.
Krish