wjx79my 当前离线
列兵
TOP
bat爱好者 当前离线
@echo off set /a a=%random%%%100+101 echo %a% pause>nul复制代码
qq399254368 当前离线
sincere 当前离线
@echo off set min=%1 set max=%2 if %min% equ %max% (echo %min%) & exit /b if %min% gtr %max% (set min=%max%) & (set max=%min%) echo %min% + %random% %% (%max% - %min% + 1)复制代码
Jay罗小尼 当前离线
BHsolve 当前离线
上等兵
@echo off set /a a=%random%%%101+100 echo %a% pause > nul复制代码
1020878754 当前离线
clsgalmc 当前离线
437153 当前离线
一级士官
@echo off :1 set/a m=1%time:~-2% echo %m% pause >nul goto :1复制代码
bluenightsky 当前离线
wutarnow 当前离线
@echo off call :CreateRandom echo %createRandom% goto :EOF :CreateRandom set createRandom=%RANDOM% if %createRandom% LSS 100 ( goto :CreateRandom ) else if %createRandom% LEQ 200 ( exit /b ) else ( goto :CreateRandom )复制代码
unknown_world 当前离线
@echo off set /p fist=请输入您的随机数开始值: set /p end=请输入您的随机数结束值: :loop set /a w=%random% %% (end+1) if %w% geq %fist% (echo %w%) else goto loop pause>nul复制代码
Alt32 当前离线
@echo off color f0 :eee set randomed=%random% if %randomed% lss 100 goto eee if %randomed% gtr 200 goto eee echo %randomed% set randomed= pause>nul exit复制代码
yhcfsr 当前离线
中尉
wtuldn 当前离线