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

Discuss anything here related to the large world of computers and electronics, whether you're asking for help, wanting to learn more, or just want to share some intellect with your fellow forumers.
Locked
User avatar
President Obama
Full Member
Posts: 110
Joined: Wed Mar 17, 2010 8:13 am
Lobby Username: President Obama
Location: Watching you from outside your window.

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

Post 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.
Image
This signature is only 17kb. That makes it ftw.

peow130
Noob @ Everything
Posts: 1137
Joined: Fri Nov 07, 2008 7:28 pm

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

Post 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
Image
SlipKnoT wrote:swords are 30 u idiot.

User avatar
President Obama
Full Member
Posts: 110
Joined: Wed Mar 17, 2010 8:13 am
Lobby Username: President Obama
Location: Watching you from outside your window.

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

Post by President Obama »

Thats pretty dam easy. Also quite obvious
Image
This signature is only 17kb. That makes it ftw.

Locked

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 47 guests