Forum Home
Press F1
 
Thread ID: 41683 2004-01-19 05:13:00 Basic DOS .bat file commands? Scripting help... Chilling_Silently (228) Press F1
Post ID Timestamp Content User
208451 2004-01-20 02:44:00 Thats Brilliant Graham, spot on!

Thanks for the great explanation too :-)

Its now working great:
@echo off
echo Press 1 for Server or Single User Installation
echo Press 2 for Workstation Installation in MultiUser environment ONLY
echo.
echo If you are unsure, Please press 1
echo.
choice /N /C:12 Please select an Install or Ctrl + C to Cancel:
IF ERRORLEVEL ==2 GOTO WS
IF ERRORLEVEL ==1 GOTO SERVER
:WS
echo You have chosen a Workstation install for Multi-User Environment
call config.bat
GOTO END
:SERVER
echo You have chosen Server or Single User installation
call setup.exe
GOTO END
:END

Thanks so much! And that URL is helpful too.. :-)

Cheers


Chill.
Chilling_Silently (228)
1 2