Ticket #239: GcStartup.cmd

File GcStartup.cmd, 1.0 KB (added by Melanie Hermann, 12 years ago)
Line 
1rem Startup-Skript V2 09.07.2014
2
3\sdcard\bin\dio.exe -D DIO1: -T 0x04
4if errorlevel 1 goto checkRegOldDisp
5:checkRegNewDisp
6\sdcard\bin\RegistrySet.exe -f "\sdcard\bin\RegistrySet_TX16D20VM5BQA_newDisplay.par" -p "PicoMOD6" -t -e
7if errorlevel 1 goto setRegNewDisp
8goto startApp
9:setRegNewDisp
10\sdcard\bin\RegistrySet.exe -f "\sdcard\bin\RegistrySet_TX16D20VM5BQA_newDisplay.par" -p "PicoMOD6" -e
11goto reboot
12
13:checkRegOldDisp
14\sdcard\bin\RegistrySet.exe -f "\sdcard\bin\RegistrySet_TX16D11VM2CQC_oldDisplay.par" -p "PicoMOD6" -t -e
15
16if errorlevel 1 goto setRegOldDisp
17goto startApp
18:setRegOldDisp
19\sdcard\bin\RegistrySet.exe -f "\sdcard\bin\RegistrySet_TX16D11VM2CQC_oldDisplay.par" -p "PicoMOD6" -e
20goto reboot
21
22:reboot
23ndcucfg -c "reboot hardware"
24goto exit
25
26:startApp
27\sdcard\bin\dio.exe -D DIO1: -T 0x08
28if errorlevel 1 goto explorer
29if not exist \SDCard\bin\gc.exe goto explorer
30copy \SDCard\Bin\gc.exe \ffsdisk\gc.exe
31start \ffsdisk\gc.exe
32goto exit
33
34:explorer
35start explorer.exe
36goto exit
37
38:exit
39exit