GL1TCH3D

Benchmarker Count to 1M!

Oct 16th, 2011
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. @echo off
  2. cd %userprofile%\desktop
  3. set a=0
  4. Set begin=Start Time: %date% %time%
  5. :top
  6. set /a a=%a%+1
  7. echo %a%
  8. if %a%==1000000 goto end
  9. goto top
  10. :end
  11. Set end=End Time: %date% %time%
  12. echo %begin%
  13. echo %end%
  14. :reask
  15. echo Would you like to create a log for this test? (y/n)
  16. set /p log=
  17. if /i %log%==y goto next
  18. if /i %log%==n exit
  19. echo Invalid entry
  20. goto reask
  21. :next
  22. if exist Tests.txt goto last
  23. echo The count to 1,000,000 started at %begin% and ended at %end% > Tests.txt
  24. pause>nul
  25. exit
  26. :last
  27. echo The count to 1,000,000 started at %begin% and ended at %end% >> Tests.txt
  28. pause>nul
  29. exit
  30.  
Advertisement
Add Comment
Please, Sign In to add comment