Jump to content

grungething

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    country-ZZ

Posts posted by grungething

  1. Thanks for your response, seen the guid and it is way better. I'm now almost there and am delighted with the result. However just one small problem is the resolution is not changing to 1024x768. It still works and you can just see the buttons, but it would be a ot nicer if it was the 1024x768 res. Any ideas what to look for?

    setres program is in misc folder too, havn't changed any setting in the hta file either.

  2. This would be really good for me too.

    I'm looking for a basic imagex menu that will either Create or Apply and image depending on a user defined .wim file.

    1st ever go at writing a batch file so probably a bit messy. Not sure if the user variable works either, but would be quite nice and useful.

    The prepdrive.txt file will just format the entire disk for image to be applied.

    @ECHO OFF
    ECHO 1 - Create Image
    ECHO 2 - Apply Image

    REM Need to enter something here to make option 1 or 2 available


    :CRE
    net use j: "ServerShare"
    timeout 3
    SET USRINPUT=
    ECHO Enter Image name and press enter . . .
    COPY CON %TEMP%.~USRINP.TMP
    ECHO.>> %TEMP%.~USRINP.TMP
    TYPE %TEMP%.~USRINP.TMP | DATE | FIND "):" > %TEMP%.~USRINP.BAT
    CALL %TEMP%.~USRINP.BAT
    imagex /compress fast /check /scroll /capture c: c:%USRINPUT%.wim
    timeout 3
    copy c:%USRINPUT%.wim j:
    timeout 3
    GOTO FINAL

    :APP
    SET USRINPUT=
    ECHO Enter Image name then press enter . . .
    COPY CON %TEMP%.~USRINP.TMP
    TYPE %TEMP%.~USRINP.TMP | DATE | FIND "):" > %TEMP%.~USRINP.BAT
    diskpart /s %SYSTEMROOT%prepdrive.txt
    timeout 3
    net use j: "ServerShare"
    timeout 3
    CALL %TEMP%.~USRINP.BAT
    imagex /apply j:%USRINPUT%.wim 1 c:
    timeout 3
    GOTO FINAL

    :FINAL
    EXIT

    Seen people mention these hta files to, any advice would be appreciated. Would love just a basic menu system that auto loads up with those options eventually.

    http://www.msfn.org/board/index.php?showto...amp;hl=bat+menu

    Found this extremely useful, will post finished bat file soon, hopefully

×
×
  • Create New...