Jump to content

Jakestevens2020

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Ireland

Posts posted by Jakestevens2020

  1. Have to say thanks for this thread is been really great in getting me to where i wanted to be!!!!

    Ive done a bit of work on the scripting of ghost for different images so i thought id share! heres whats in my menu.bat file......

    youll need to change the menu option names

    then the GOTO headings (HP8100ma)

    The path to your ghost32.exe (mines ghost11)

    and the path to your image (src=G:\DELL745\745F.GHO) (G: is my mapped drive that has the ghost images)

    ---------------------------------------------------------------------------------------

    @echo off

    CLS

    echo Main Menu:

    echo Please select the system and Image to Ghost.

    :loop

    echo A HP 8100 - Main image

    echo B HP 8100 - Summation

    echo C HP 7800 - Main Image

    echo D Dell 745 - Main Image

    echo Q Quit

    SET /P Choice=Type the letter and press Enter:

    :: The syntax in the next line extracts the substring

    :: starting at 0 (the beginning) and 1 character long

    IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1%

    IF /I '%Choice%'=='A' GOTO HP8100ma

    IF /I '%Choice%'=='B' GOTO HP8100SU

    IF /I '%Choice%'=='C' GOTO HP7800MA

    IF /I '%Choice%'=='D' GOTO Dell745M

    IF /I '%Choice%'=='Q' GOTO End

    ECHO "%Choice%" is not valid. Please try again.

    ECHO.

    GOTO Loop

    :: =================================

    :HP8100ma

    X:\Programs\ghost11\ghost32.exe -clone,mode=prestore,src=G:\HP810\810F.GHO:1,dst=1:1 -sure

    GOTO end

    :: =================================

    :HP8100SU

    X:\Programs\ghost11\ghost32.exe -clone,mode=prestore,src=G:\HP810\810S.GHO:1,dst=1:1 -sure

    GOTO end

    :: =================================

    :HP7800MA

    X:\Programs\ghost11\ghost32.exe -clone,mode=prestore,src=G:\HP780\780F.GHO:1,dst=1:1 -sure

    GOTO end

    :: =================================

    :Dell745M

    X:\Programs\ghost11\ghost32.exe -clone,mode=prestore,src=G:\DELL745\745F.GHO:1,dst=1:1 -sure

    GOTO end

    :: =================================

    :end

    pause

    -----------------------------------------------------------------------------------------------

    Hope this helps :-)

    any questions just ask!!!

×
×
  • Create New...