Advanced batch command menu

Create a menu using batch commands

Open a new text document and copy this code.

TIP: Save as using the apostrophes something like “menu.bat”

@echo off

:menu
cls
echo — ENTER ONE CHOISE —
echo O. Exit Batch
echo 1. Wamp Server
echo 2. Adobe DreamWeaver CS3

echo 3. Adobe Photoshop
echo 4. Adobe Illustrator
set /p var=Choise:

IF ‘%var%’ == ‘0’ exit
IF ‘%var%’ == ‘1’ GOTO wamp
IF ‘%var%’ == ‘2’ GOTO dreamweaver
IF ‘%var%’ == ‘3’ GOTO ps
IF ‘%var%’ == ‘4’ GOTO Illustrator
echo entered nothing
PAUSE
exit

:wamp
cls
start C:\wamp\wampmanager.exe

GOTO END

:dreamweaver
cls
start C:\PROGRA~1\Adobe\ADOBED~2\dreamweaver.exe
GOTO END

:ps
cls
start C:\PROGRA~1\Adobe\ADOBEP~1\Photos~1.exe
GOTO END

:Illustrator
cls
start C:\PROGRA~1\Adobe\ADOBEI~1\Suppor~1Contents\Windows\Illustrator.exe
GOTO END

:END
GOTO menu

Posted in Uncategorized

One thought on “Advanced batch command menu

Leave a Reply

Your email address will not be published. Required fields are marked *