Of course there data generator, which requires batch production data as well as data storage operation, hope the following batch script useful to you! (If you have big brothers with a good program, you can leave a message at the lower share! Thanks!)
Tip: rem to comment
If you copy the code appears in the case of a line of code to set the ide, and then copy it! ! !
@echo off
set /a index=0
:loop
rem 数据生成器可执行文件名
get_rand
rem 标程可执行文件名
demo.exe
ping 0.0.0.0 -n 2 > null
set /a index=%index%+1
echo -----------------------------目前正在处理第%index%个文件---------------------------------
rem 设置数据文件名
set name=data%index%.in
ren rand.txt %name%
rem 此处为数据存放路径
move %name% D:\data
rem 设置数据文件名
set name=data%index%.out
rem 进行移动
ren demo.txt %name%
rem 此处为数据存放路径
move %name% D:\data
::pause
rem 测试数据生成的组数
if %index%==100 goto end
goto loop
:end