simple batch menu

View previous topic View next topic Go down

simple batch menu

Post  rob7601 on Thu Jan 28, 2010 4:41 am

pretty cool once you start to learn all this stuff Mad

simple batch menu
Spoiler:
@echo off
echo 1 - make folder
echo 2 - open calculater
echo 3 - message


choice /C:123

if errorlevel 3 goto example3
if errorlevel 2 goto example2
if errorlevel 1 goto example1

:example1
echo.
echo *****Folder Created*****
echo.
cd C:\Documents and Settings\owner\Desktop
md test_folder
pause
cls
exit

:example2
echo.
echo *****Calculater Opened*****
echo.
CALL C:\calc.exe
pause
cls
exit

:example3
echo.
echo *****your mom*****
echo.
pause
cls
exit
avatar
rob7601
Admin

Posts : 53
Join date : 2009-10-20
Age : 23

View user profile http://rebelgamers.darkbb.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum