I made and tested simple batch script to launch one of two applications in windows 10 using the CHOICE attribute with a 30 second timeout and one START function set as the default.
I moved my batch file over to my target thin client running windows 7 embedded standard and upon executing i realized that WES7 does not support the choice command. I need this to be as simple as possible with just one button use (no enter key) but I'm struggling to figure out my alternatives here. Here is the batch i was using.
@ECHO OFF
CLS
ECHO =============
ECHO 1.first app
ECHO 2.second app
ECHO.
CHOICE /C 12 /T 30 /D 1 /M "Enter your choice by pressing 1 or 2:"
:: Note - list ERRORLEVELS in decreasing order
IF ERRORLEVEL 2 GOTO app2
IF ERRORLEVEL 1 GOTO app1
:app1
ECHO running app1
START app1.exe
goto begin
:app2
ECHO running app2
START app2.exe
goto begin
:End