Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How To Create Custom Boot Disk?

How To Create Custom Boot Disk?

Forum Windows XP : Windows XP General Discussion - How To Create Custom Boot Disk?

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

I'm trying to create a boot disk that will execute a batch file I created to automatically run Ghost 2003 using command lines in DOS. I created a standard Ghost 2003 boot disk to work from and tried to edit that. I basically want to change the autoexec.bat file to point to my batch file instead of the Ghost.exe file.

Whenever I change the file and try to boot from it, it does not boot, it says to replace with a system disk. I figure it is how the autoexec.bat is edited or saved. I'm using notepad and when I save I save it as the same name. I believe the attributes are different or it is not longer a system file after I save my changes to it, I'm not really sure.

I don't want the disk to boot to windows just run the batch file in dos. Below are both autoexec.bat files. The only difference is that when I save mine seem to loose it attributes. For example in order to see the ghost autoexec.bat file I have to uncheck "Hide Protected Operating System Files." However, after I make my changes and recheck the box, mine is style visible. Even the hidden attribute is gone. It is though it is a normal file. I checked and it only has a .bat extention.


Norton Ghost 2003 Autoexec.bat
@echo off
SET TZ=GHO+06:00
MOUSE.COM
echo Loading...
CD GHOST
GHOST.EXE


My Custom Autoexec.bat
@echo off
SET TZ=GHO+06:00
MOUSE.COM
echo Loading...
test.bat

I was wondering what is the proper way to edit and save the autoexec.bat so that it will boot and run my batch file.

If any other info is needed, please ask. Thanks in advance for the help.

<P ID="edit"><FONT SIZE=-1><EM>Edited by twodaend on 01/20/05 11:25 AM.</EM></FONT></P>

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How To Create Custom Boot Disk?
Go to:

There are 1229 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them