!BAT
debug normal
echo PRE-TEST (100 loops)
#echo Accessing %0 100 times...
echo STARTING AT %@time%
set a=0
:lp
if exist %0 echo %0 > (md)0x300+1
set /a a=%a%+1 > nul
if %a%<=99 goto :lp
echo ENDED    AT %@time%
echo
set /p:5 ask=Now run 1000 loops? [Type N within 5 seconds to quit] ([Y]/N) : 
if /i "%ask%"=="N" goto :eof
echo
echo
echo FULL TEST (1000 loops)
#echo Accessing %0 1000 times...
echo STARTING AT %@time%
set a=0
:lpx
if exist %0 echo %0 > (md)0x300+1
set /a a=%a%+1 > nul
if %a%<=999 goto :lpx
echo ENDED    AT %@time%
echo
pause Finished - press a key to return to Main Menu...

