Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello, i need a batch file that will RANDOMLY GOTO a certain area
EXAMPLEit selects a random area (area = :MENU, :MENU2 ... ect)
So each time i open it, it will go to a certain area

Hi Kittybobir
@echo off
cls
set /a R=%random%%%5
goto Menu%R%
exit /b
:Menu0
echo Menu%R%
exit /b:Menu1
echo Menu%R%
exit /b:Menu2
echo Menu%R%
exit /b:Menu3
echo Menu%R%
exit /b:Menu4
echo Menu%R%
exit /b

![]() |
Inodes in DOS
|
Create text file based on...
|
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |