Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How to make a batch file to run a image file  (Read 4322 times)

0 Members and 1 Guest are viewing this topic.

aybala

  • Guest
How to make a batch file to run a image file
« on: December 07, 2004, 07:50:21 AM »
hello everybody,

my question:

i have a Image made with Ghost 2003, i would have my image on a bootable DVD.
what must i do to make the DVD bootable and how can i do that,

i wil make a batch file so the DVD will runs automatic, but how,

The batch file must start first Ghost.exe (thats on the DVD) then he must get the image file "test1.GHO" and "test1.GHS" from the DVD then the image file must run the image to the disk,

but how????

can someone help me


aybala

  • Guest
Re: How to make a batch file to run a image file
« Reply #2 on: December 15, 2004, 02:39:34 AM »
i have creatid a bootable floppy with the following files:
mscdexnt.exe
command.com
mode.com
autoexec.bat
config.sys
io.sys
oakcdrom.sys

the following commands are in the autoexec.bat file
mode con codepage prepare=((850) ega.cpi)
mode con codepage select=850



@echo off
SET TZ=GHO+08:00
mscdexnt /D:MSCD001 /L:I
PATH=a:\;a:\dos;x:\ghost
echo loading Ghost........
I:
ghost.exe -clone,mode=restore,src=i:\ORGINEEL.GHO,dst=1:1 -fx -sure

the following commands are in the config.sys file

device=display.sys con=(ega,,1)
Device=oakcdrom.sys /D:MSCD001


I burned a DVD with my image files orgineel.gho and orgineel1.ghs and ghost.exe
but when i restart my pc, the system is trying to boot from my floppy and after the floppy has booted i get to following message : the directory is invalid,  who can help

i need help

aybala

  • Guest
Re: How to make a batch file to run a image file
« Reply #3 on: December 15, 2004, 06:56:50 AM »
I FOUND THE PROBLEM

I REPLACED THE FILES MSCDEXNT.EXE WITH MSCDEX.EXE AND IT WORKS.....

I HOPE I CAN HELP SOME ONE WITH THIS SOLUTION