Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Computer Hope forum e-mail issues and down time
0 Members and 1 Guest are viewing this topic.
::Batch file designed by Sky Ninja@echo offset base=noneset sec=nonecolor 1ftitle SRB2 Level Name Generator:start:clsset /a g=(%random% %%15)+1if %g% equ 1 set base=Greenif %g% equ 2 set base=Glowingif %g% equ 3 set base=Eggif %g% equ 4 set base=Cloverif %g% equ 5 set base=Lunarif %g% equ 6 set base=Radiantif %g% equ 7 set base=Hiddenif %g% equ 8 set base=Flamingif %g% equ 9 set base=Frozenif %g% equ 10 set base=Darkif %g% equ 11 set base=Sandyif %g% equ 12 set base=Finalif %g% equ 13 set base=Lostif %g% equ 14 set base=Fatalif %g% equ 15 set base=Weaponsset /a h=(%random% %%10)+1if %h% equ 1 set sec=Hillif %h% equ 2 set sec=Shrineif %h% equ 3 set sec=Factoryif %h% equ 4 set sec=Baseif %h% equ 5 set sec=Cityif %h% equ 6 set sec=Fieldif %h% equ 7 set sec=Dunesif %h% equ 8 set sec=Mountainif %h% equ 9 set sec=Coreif %h% equ 10 set sec=Attackecho. Your level is...echo %base% %sec% Zone>>"C:\Documents and Settings\%username%\My Documents\LevelNameGen.txt"echo. %base% %sec% Zoneecho. echo. Generate another? (y/n)Set /p yn= :if %yn% equ y goto startif %yn% equ n exit
@echo offmode con lines=20 cols=60:startclsecho you are here: %CD%echo.echo.Up? -Wecho.Open? -Aecho.Search? -Secho.Enter address? -Decho.Quit -Qecho.CMD? -Zecho.rename? -Recho.copy? -cchoice /c "WADQSRZC">Nulif errorlevel 8 goto Cif errorlevel 7 goto Zif errorlevel 6 goto Rif errorlevel 5 goto Sif errorlevel 4 goto Qif errorlevel 3 goto Dif errorlevel 2 goto Aif errorlevel 1 goto Wecho error!!!pauseexit:Cecho.set /p OR=what do you want to copy?if "%OR%"=="back" goto startset /p nom= where to?copy %OR% %nom%goto start:Decho.set /p add=where do you want to go?if "%add%"=="back" goto startcd %add%goto start:Wcd..goto start:Aecho.dir /a:-d /becho.set /p add=what do you want to run?if "%add%"=="back" goto startstart "" %add%goto start:Qecho byeexit:Sset /p OR=where do you want to search?if "%OR%"=="back" goto startset /p add=what do you want to search for?where /R %OR% "%add%"pausegoto start:Rset /p OR=what would you like to rename?if "%OR%"=="back" goto startset /p nom=rename to what?ren %OR% %nom%goto start:Zset /p add=%CD%^>if "%add%"=="back" goto start%add%pausegoto start
... you want to see my 'thing'... usually i'd wait until after the first date but seeing as you asked so politely....
choice /C:wsdafjo >nul
for /F "delims=? skip=%nnum%" %%L in ('dir /B /A:D %cd%') do (cd %%Lgoto CD)
" was unexpected at this time.
if %cnum% equ 1 (for /F "delims=?" %%L in ('dir /B /A:D %cd%') do (cd %%Lgoto CD))
if %cnum% leq 1 (for /F "delims=?" %%L in ('dir /B /A:D %cd%') do (cd %%Lgoto CD))
Microsoft Windows 2000 and Windows XP users who have batch files that utilize the choice command should modify the batch file to use the MS-DOS set command.