
CODE: [Copy to clipboard][ Last edited by jmz573515 on 2007-8-21 at 03:55 PM ]@echo off
setlocal enabledelayedexpansion
set h=0
for /f "delims=" %%i in ('dir /od /b *.*') do (
set /a h+=1
set m!h!=%%i
)
set /a sj=%random%%%%h%+1
call set var=%%m%sj%%%
echo %var%
pause
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |