Login Register


Nice little randomizer coded by me^^ filter_list
Author
Message
Nice little randomizer coded by me^^ #1
this randomizier creates random file without showing the proces of creating the files

Quote:@echo off
title randomizer
echo finalfreak presents
echo the random^^
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
mkdir %random%
cls
echo was there anything?
pause

the cls deletes the process of creating all the files^^
we are so fame

photoshop fun and coding included

Reply

RE: Nice little randomizer coded by me^^ #2
Why wouldn't you do this instead?

Code:
@echo off title randomizer echo finalfreak presents echo the random^^ set i = 1 :loop mkdir %random% >nul set /a i += 1 if %i% gtr 10 ( goto end ) goto loop :end cls echo was there anything? pause
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Nice little randomizer coded by me^^ #3
cuz my version is more easier to understand for anybody ^^ but ur version is also great.U could even make more folder without seeing it

Quote:@echo off
title randomizer
echo finalfreak presents
echo the random^^
set i = 1

:loop
mkdir %random% >nul
set /a i += 1
if %i% gtr 20 (
goto end
)
goto loop

:end
cls
echo was there anything?
pause

i htink u can make up to 30 folders (or a few more) without needing much time or seeing it ^^
(This post was last modified: 12-03-2011, 12:54 PM by xAnonymous.)
we are so fame

photoshop fun and coding included

Reply

RE: Nice little randomizer coded by me^^ #4
(12-03-2011, 12:46 PM)finalfreak Wrote: cuz my version is more easier to understand for anybody ^^ but ur version is also great.U could even make more folder without seeing it

Quote:@echo off
title randomizer
echo finalfreak presents
echo the random^^
set i = 1

:loop
mkdir %random% >nul
set /a i += 1
if %i% gtr 20 (
goto end
)
goto loop

:end
cls
echo was there anything?
pause

i htink u can make up to 30 folders (or a few more) without needing much time or seeing it ^^

No you can make a lot more than 30 folders, they don't take up much time to create a folder, you can make up to 1000 folders in probably 1 second or less in batch.

All you'd need to change in my script is this line:
Code:
if %i% gtr 20 (

Specifically the "20" value to the number of folders you want to create.

Example:
Code:
if %i% gtr 1000 (

With your code you're going to be writing that out 1000 times, which is why the way you do it, is not the best method.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Nice little randomizer coded by me^^ #5
when u make to much folders somebody could recognise

(i coded this at school in 3min and we completly overflooded the schoolserver with folders)
we are so fame

photoshop fun and coding included

Reply

RE: Nice little randomizer coded by me^^ #6
(12-03-2011, 01:25 PM)finalfreak Wrote: when u make to much folders somebody could recognise

(i coded this at school in 3min and we completly overflooded the schoolserver with folders)

Folders take up virtually no space...

You can get away with around 500 folders without them noticing (takes literally less than half a second), but I wouldn't recommend doing it inside of the same folder as the batch file itself anyway, otherwise they will know no matter what. So your attempt at making it secret is a bit of a fail here on that behalf anyway.

You could use a system set variable for a %Directory% instead.

Example:
Code:
md %UserProfile%\%Random%

or using %SystemRoot%
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Nice little randomizer coded by me^^ #7
yeah no space but we made this with 30 persons at once and we all started it 20 times and the server lagged like hell

(ur german hacker 2 right ? cuz i make a german translation of Xtreme Rat if u want the translation pm me or....)
we are so fame

photoshop fun and coding included

Reply

RE: Nice little randomizer coded by me^^ #8
No, English is more my first language now anyway, I've been out of Germany for about 7 years now, maybe 8.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Nice little randomizer coded by me^^ #9
okay^^ but if anyone is interrested in my german translation of Xtreme RAT just PM me
we are so fame

photoshop fun and coding included

Reply







Users browsing this thread: 1 Guest(s)