Ticket #292: GcStartup_20160113.cmd

File GcStartup_20160113.cmd, 722 bytes (added by Melanie Hermann, 10 years ago)
Line 
1rem GcStartup-Skript V3 13.01.2016 mit identischen Reg-Settings für beide Displays
2
3:checkRegSettingsForDisplay
4\sdcard\bin\RegistrySet.exe -f "\sdcard\bin\SettingsForBothDisplays.par" -p "PicoMOD6" -t -e
5if errorlevel 1 goto setRegDisp
6goto startApp
7:setRegDisp
8\sdcard\bin\RegistrySet.exe -f "\sdcard\bin\SettingsForBothDisplays.par" -p "PicoMOD6" -e
9ndcucfg -c "reboot hardware"
10goto exit
11
12:startApp
13\sdcard\bin\dio.exe -D DIO1: -T 0x08
14if errorlevel 1 goto explorer
15if not exist \SDCard\bin\gc.exe goto explorer
16del /Q /F \ffsdisk\*.exe
17del /Q /F \ffsdisk\StartUp\*.*
18copy \SDCard\Bin\gc.exe \ffsdisk\gc.exe
19start \ffsdisk\gc.exe
20goto exit
21
22:explorer
23start explorer.exe
24goto exit
25
26:exit
27exit