mirror of
https://github.com/hamishcoleman/thinkpad-ec
synced 2024-11-04 06:00:12 +00:00
c0b2178942
Instead use a *.report file for each component and add data as we go, culminating in the built image simply catting the report to the screen to show the user what is about to occur. This is on the path towards removing all variables from the autoexec template - which would make it simpler to reuse the same template for other commands (e.g the x200 series does not use dosflash.exe)
21 lines
452 B
Plaintext
21 lines
452 B
Plaintext
@ECHO OFF
|
|
PROMPT $p$g
|
|
cd c:\flash
|
|
cls
|
|
echo.
|
|
echo.
|
|
echo This will flash your Embedded controller firmware
|
|
echo.
|
|
echo.
|
|
echo WARNING: Incorrectly flashing your firmware can damage your laptop.
|
|
echo Ensure this is the right firmware version before attempting to flash
|
|
echo the firmware - there are minimal checks done.
|
|
echo.
|
|
echo This disc will flash the file __DIR\__FL2
|
|
echo.
|
|
type c:\report.txt
|
|
echo.
|
|
pause
|
|
echo on
|
|
dosflash /sd /ipf ec /file __DIR\__FL2
|