Jump to content

siritalia

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

About siritalia

Profile Information

  • OS
    none specified

siritalia's Achievements

0

Reputation

  1. Hi guys, So i have changed the script now to not use IMAGE_IT. No more but how do I get it to choose the USB drive as at present I have to have the dvd in the drive to apply the image: wpeinit CLS @ECHO OFF set blankLine=- ECHO Please select the image below... ECHO 1 - HP 8440P ECHO 2 - HP 8000 ECHO 3 - DELL D630 ECHO 4 - OTHER IMAGE echo %blankLine% SET /P selectOpt=Please select a option from above: echo %blankLine% IF %selectOpt% == 1 goto :opt1 IF %selectOpt% == 2 goto :opt2 IF %selectOpt% == 3 goto :opt3 IF %selectOpt% == 4 goto :opt4 exit REM --------------------------------- REM here for opt1 REM --------------------------------- :opt1 wpeinit @echo off type clean_disk.txt pause diskpart /s clean.txt rem type image.txt imagex /apply d:\HP 8440P.wim 1 c:\ type done.txt pause exit REM --------------------------------- REM here for opt2 REM --------------------------------- :opt2 wpeinit @echo off type clean_disk.txt pause diskpart /s clean.txt rem type image.txt imagex /apply d:\HP 8000.wim 1 c:\ type done.txt pause exit REM --------------------------------- REM here for opt3 REM --------------------------------- :opt3 wpeinit @echo off type clean_disk.txt pause diskpart /s clean.txt rem type image.txt imagex /apply d:\DELL D630.wim 1 c:\ type done.txt pause exit REM --------------------------------- REM here for opt4 REM --------------------------------- :opt4 wpeinit @echo off type clean_disk.txt pause diskpart /s clean.txt rem type image.txt imagex /apply d:\OTHER IMAGE.wim 1 c:\ type done.txt pause exit
  2. Hi all, Just wondering if someone can help me or point me in the right direction. I have the below script which runs fine untill it hits the image_IT part then comes up unable to open file........exiting script in five seconds. Then the rest of the script displays and the laptop reboots with no image been applied. All I need it to do is search the external HDD for the image file and apply it. I have also included a file i have created but not sure if it is required. CLS @ECHO OFF set blankLine=- ECHO Please select the image below... ECHO 1 - HP 8440P ECHO 2 - HP 8000 ECHO 3 - DELL D630 ECHO 4 - OTHER IMAGE echo %blankLine% SET /P selectOpt=Please select a option from above: echo %blankLine% IF %selectOpt% == 1 goto :opt1 IF %selectOpt% == 2 goto :opt2 IF %selectOpt% == 3 goto :opt3 IF %selectOpt% == 4 goto :opt4 exit REM --------------------------------- REM here for opt1 REM --------------------------------- :opt1 wpeinit @echo off type clean_disk.txt pause diskpart /s clean.txt rem type image.txt image_it.exe rem imagex /apply %location%:HP 8440P.wim 1 c: type done.txt exit REM --------------------------------- REM here for opt2 REM --------------------------------- :opt2 wpeinit @echo off type clean_disk.txt pause diskpart /s clean.txt rem type image.txt image_it.exe rem imagex /apply %location%:HP 8000.wim 1 c: type done.txt exit REM --------------------------------- REM here for opt3 REM --------------------------------- :opt3 wpeinit @echo off type clean_disk.txt pause diskpart /s clean.txt rem type image.txt image_it.exe rem imagex /apply %location%:DELL D630.wim 1 c: type done.txt exit REM --------------------------------- REM here for opt4 REM --------------------------------- :opt4 wpeinit @echo off type clean_disk.txt pause diskpart /s clean.txt rem type image.txt image_it.exe rem imagex /apply %location%:OTHER IMAGE.wim 1 c: type done.txt exit
×
×
  • Create New...