+ Reply to Thread
Results 1 to 4 of 4
  1. #1

    batch file question

    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.


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


    And now the restore.bat

    @echo off
    echo ----------------------------------------------------------------------------
    echo System Restore Utility
    echo ----------------------------------------------------------------------------
    if not exist hdimage.txt goto _notxt
    type hdimage.txt
    echo Copy disk image from CD-Rom to hard drive !!!
    set get=
    get c "Continue? [Y,N] : "
    if "%get%" == "Y" goto _y
    goto _end
    echo This will erase all data currently on your hard disk !!!
    echo Type "agree" to confirm this action.
    set get=
    get s "Type here: >"
    if "%get%" == "agree" goto _ok
    goto _end
    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 Remove CD-Rom, and reboot system.
    goto _end
    echo [Aborted...]

    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,

  2. #2
    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?

    "Even a fool is thought to be wise if he is silent"

  3. #3


    yes and thank you very much

  4. #4
    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"

Quick Reply Quick Reply

If you are already a member, please login above.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
Copyright 2014 All Enthusiast, Inc