Page 1 of 1

Just a batch I made I want to show off (its pretty crap)

Posted: Fri May 14, 2010 6:07 am
by President Obama
This is a fail speed test I made in batch.

Post your score guys. Its pretty fail because scores varie so much.

Code: Select all

:0
@echo off
title Computer speed test.
echo Press any key to begin the speed test.
pause>nul
goto :1

:1  
set T=%TIME%
set T=%T::=%
set T=%T:.=%
goto :2

:2
cls
echo Working.
set /a d=%d% +1
set /a k=(%random%*%random%*%random%+%random%-%random%*%random%*%random%*%random%*%random%)
set /a H=(%random%*%random%*%random%+%random%-%random%*%random%*%random%*%random%*%random%)
set /a g=(%random%*%random%*%random%+%random%-%random%*%random%*%random%*%random%*%random%)
set /a f=(%random%*%random%*%random%+%random%-%random%*%random%*%random%*%random%*%random%)
set /a u=(%random%*%random%*%random%+%random%-%random%*%random%*%random%*%random%*%random%)
echo Working..
echo %k% >>G.txt
echo %H% >>G.txt
echo %g% >>G.txt
echo Working...
echo %f% >>G.txt
echo %u% >>G.txt
if %d% ==2000 goto :3
goto :2

:3
set A=%TIME%
set A=%A::=%
set A=%A:.=%
set /a c=A-T
echo Your score is %c%
echo Press any key to exit and clean up.
pause>nul 
del G.txt
I was going to make a part that would upload your score to a server via ftp but setting up a free ftp server is such a fucking pain in the ass, so I gave up on that.

Re: Just a batch I made I want to show off (its pretty crap)

Posted: Sat May 15, 2010 2:17 pm
by peow130
you should make one that loads a bunch of undeletable gay pr0n onto the computer. oh wait i already have that har har har

Re: Just a batch I made I want to show off (its pretty crap)

Posted: Wed Jun 02, 2010 3:01 am
by President Obama
Thats pretty dam easy. Also quite obvious