»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 03-05-2004, 08:44 AM   #1 (permalink)
Registered User
 
Join Date: Mar 2004
Posts: 24
weezerisrock is on a distinguished road
batch file question

Hello,
I posted in the recovery cd thread a little bit down but I figured that it was maybe diggin up too old of a thread! Here is my question in a new thread for y'all.

I am using this code for the recovery cds taken from the thread mentioned previously.

autoexec.bat

@echo off
shsucdx /d:vide,t
ctmouse
doskey
set path=a:\;t:\

restore.bat



And now the restore.bat

@echo off
cls
echo ----------------------------------------------------------------------------
echo System Restore Utility
echo ----------------------------------------------------------------------------
echo.
if not exist hdimage.txt goto _notxt
type hdimage.txt
:_notxt
echo.
echo Copy disk image from CD-Rom to hard drive !!!
echo.
set get=
get c "Continue? [Y,N] : "
if "%get%" == "Y" goto _y
goto _end
:_y
echo.
echo.
echo This will erase all data currently on your hard disk !!!
echo.
echo Type "agree" to confirm this action.
echo.
set get=
get s "Type here: >"
if "%get%" == "agree" goto _ok
goto _end
:_ok
echo Loading...
rem without -rb switch!
ghost.exe -quiet -batch -sure -afile=NUL -clone,mode=load,src=t:\cdr00001.gho,dst=1
if errorlevel 1 goto _abort
echo.
echo Remove CD-Rom, and reboot system.
goto _end
:_abort
echo.
echo [Aborted...]
:_end
echo.

The problem I have is anytime there is the "set get=" I get an invalid command error. Am I supposed to use these in realtion with a specific boot files? I can't figure out why this is happening. I was just adding these files to a 98 boot disk and then moving those files to a cd. Am I doing this wrong? Any help would be great. I really need to get some kind of recovery system going.

Thanks in advance,
=w=

weezerisrock is offline   Reply With Quote
Old 03-05-2004, 09:26 AM   #2 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 6,533
John Prophet is on a distinguished road
I am on the way out the door right now..but I will try to come back and look at this again. If I forget, PM me. We can easily work this out.

Are you using ghost for the image part of it?


JP
__________________
"Even a fool is thought to be wise if he is silent"
John Prophet is offline   Reply With Quote
Old 03-05-2004, 10:01 AM   #3 (permalink)
Registered User
 
Join Date: Mar 2004
Posts: 24
weezerisrock is on a distinguished road
ghost

yes and thank you very much


weezerisrock is offline   Reply With Quote
Old 03-05-2004, 09:33 PM   #4 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 6,533
John Prophet is on a distinguished road
uhh, I dont think you can just add these to a regular win98 boot floppy. Because it was made to work with a custom made boot floppy that I made with different cdrom drivers, no menu, etc etc.



You have a private message.

pm me back, JP
__________________
"Even a fool is thought to be wise if he is silent"
John Prophet is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 03:10 PM.