可以用批处理随机打开所选的网页吗??
来源:百度知道 编辑:UC知道 时间:2024/06/07 03:15:37
@echo off
set a=4
set /a a=%Random% %% %a%
if "%a%"=="0" start www.baidu.com
if "%a%"=="1" start www.zol.com.cn
if "%a%"=="2" start www.cctv.com
if "%a%"=="3" start www.kugoo.com
你可以继续加,如果你有7个随机网页就把set a=4这设置成7有8个就设置成8