中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-24 04:10
47,815 topics / 349,928 posts / today 1 new / 48,287 members
DOS批处理 & 脚本技术(批处理室) » If I need to generate a random number between 1 and 100, how should I write it (completed)
Printable Version  4,552 / 16
Floor16 mwh79 Posted 2006-12-01 06:58
初级用户 Posts 27 Credits 86
Excuse me, how should I write to subtract two variables in BAT and assign the result to the third parameter!
Floor17 zh159 Posted 2006-12-01 09:03
金牌会员 Posts 1,467 Credits 3,687
Originally posted by mwh79 at 2006-11-30 18:31:
I tested, it's the same,,,,What I actually want to achieve is, not to display, but to only read numbers from 35 to 100,,,,,not reading 1-34, so that I can get the data immediately without judgment!

for /l %%i in (35,1,100) do echo %%i
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023