@echo off prompt $p$g path C:\;C:\DOS;C:\UTILS doskey REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! REM !!DON'T REMOVE THE FOLLOWING LINES !! REM !! !! REM !!CURRENT_OS_TYPE=WCE !! REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! REM !! !! REM !! MAKE SURE YOU SET THE RIGHT IRQ & IOBASE !! REM !! FOR YOUR NETCARD BELOW. !! REM !! !! REM !! NET_IRQ can be specified in either hex or !! REM !! decimal digits (ie either as IRQ=E or IRQ=14).!! REM !! A value of 0 for both NET_IRQ & NET_IOBASE !! REM !! requests that the first network card found on !! REM !! the PCI bus should be used. !! REM !! !! REM !! NET_IOBASE must be specified in Hex digits. !! REM !! A value of 0 for NET_IOBASE means to auto !! REM !! searchfor the PCI net card using the !! REM !! specified IRQ value. !! REM !! !! REM !! NET_IP can be set to specify a static IP !! REM !! address or left blank to use DHCP to obtain !! REM !! an IP address. Format of set should be: !! REM !! set NET_IP=10.0.0.1 !! REM !! !! REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! set NET_IRQ=0 set NET_IOBASE=0 set NET_IP=0.0.0.0 set NET_MASK=255.255.255.0 set NET_GATEWAY=0.0.0.0 set HOSTNAME=Ce_XXX_NNN REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! REM !! For VGAMODE you can use the following values !! REM !! set VGAMODE=VGA !! REM !! set VGAMODE=PAL !! REM !! set VGAMODE=NTSC !! REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! set VGAMODE=VGA REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! REM !! For KBDLAYOUT you can use the following values!! REM !! Layout US : !! REM !! set KBDLAYOUT=409 !! REM !! Layout FRENCH : !! REM !! set KBDLAYOUT=40C !! REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! set KBDLAYOUT=409 if EXIST c:\cecfg.bat call c:\cecfg.bat if EXIST c:\lsmce\data\evs\vgacfg.bat call c:\lsmce\data\evs\vgacfg.bat REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! REM !! if a version > than 9.0 has been installed, !! REM !! the file c:\lsmce\code\cesnmp.dll exist but !! REM !! must not be loaded in V9 !! if EXIST c:\lsmce\code\cesnmp.dll del c:\lsmce\code\cesnmp.dll set MENUOPTIONS=/t set VGA2TVEXE=vga2tv_N.exe vgaregs c:\lsmce\os\vgaregs.bin echo. echo PRESS [ALT]+[BACKSPACE] TO TOGGLE BETWEEN VGA AND VIDEO MODES. echo. seconds 3 :VGA2TV cd c:\utils del hardwcfg.bin copy c:\lsmce\data\hardwcfg.bin if %VGAMODE% == NTSC goto NTSC if %VGAMODE% == PAL goto PAL :VGA echo /T > vga.opt %VGA2TVEXE% < vga.opt del vga.opt goto MENU :PAL %VGA2TVEXE% goto MENU :NTSC echo /N > vga.opt %VGA2TVEXE% < vga.opt del vga.opt goto MENU :MENU cd c:\utils set MENULOOP=0 menu.exe %MENUOPTIONS% set MENUOPTIONS= call menu.bat if %MENULOOP% == 1 goto MENU