2010dewuyou 发表于 2013-5-15 22:01
!BAT
if "%~1"=="" exit
setlocal
set num=0
debug off
ls /%~1 | call :get_file_max num=
set /a res=%@random% % %num%
endlocal && gfxmenu %~1%res%
exit
:get_file_max
if "%~2"=="" exit
shift 2
set /a %1=%%%1%+1
goto %0
欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) | Powered by Discuz! X3.3 |