
CODE: [Copy to clipboard][ Last edited by Hanyeguxing on 2010-12-3 at 13:06 ]@echo off
set/p z=输入文件总字节数字,大于1G即1073741824:
:han
if defined n call:ye %n%0000000
set/a n=%RANDOM%%%96+5,a+=n,m=%z:~0,-7%-a
if %m% gtr 0 goto:han
set/a n=n+m
call:ye %n%%z:~-7%
exit
:ye
fsutil file createnew %1.txt %1
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |