Urgent!! Need help with batch file!!!

Here is the problem. I needed to create a bootable cd with an image file. So, I created a bootable cd and then burned my image onto that cd. I created the image using Norton Ghost. That process was successful and the computer booted from the CD without a floppy and after going through the proper commands in dos and going through Ghost, the image
was successfully loaded. Now, I want to make it so there is no need to type in any commands or file names when the computer starts up. I want the computer to boot from the cd and go directly to Ghost. I can modify the ghost program with command-line switches so that when the program starts, it will go directly to my image and load it. I need to either create a batch file or add a command to the autoexec.bat file in order for the computer to skip all of the initial commands and go directly to Ghost. I don't know how to do either of those options and would greatly appreciate directions on how to solve this
 problem.If someone is feeling especially adventurous, then maybe they could write the batch file and possibly email it to me..
uzi78Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
dew_associatesConnect With a Mentor Commented:
UZI, I can tell by your post you're in overload here. It's easier than you think, just take a deep breath and come back to it.

First, you have eveything you need except how to invoke it right? So let's do that.

Create a config.sys so that you have access to the upper memory areas.

Config.sys
==================

DEVICE=A:\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
DEVICE=OAKCDROM.SYS /D:MSCD001
FILES=10
BUFFERS=10
DOS=HIGH,UMB
STACKS=9,256


Now let's do the autoexec.bat

Autoexec.bat
==================
path=a:\;%CDROM%:\
LH A:\MSCDEX.EXE /D:mscd001 /L:%CDROM
Add you call for your batch file here!


Dennis



0
 
dew_associatesCommented:
Oops, soory for the mistake! I was in a hurry to a meeting, but I didn't want to leave you hanging. The above shold be:



DEVICE=A:\HIMEM.SYS
DEVICE=A:\EMM386.EXE NOEMS
DEVICE=A:\OAKCDROM.SYS /D:MSCD001
FILES=10
BUFFERS=10
DOS=HIGH,UMB
STACKS=9,256


My apologies!

0
All Courses

From novice to tech pro — start learning today.