Sinisterly
Nice little randomizer coded by me^^ - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Coding (https://sinister.ly/Forum-Coding--71)
+--- Thread: Nice little randomizer coded by me^^ (/Thread-Nice-little-randomizer-coded-by-me)



Nice little randomizer coded by me^^ - finalfreak - 12-03-2011

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^^


RE: Nice little randomizer coded by me^^ - ArkPhaze - 12-03-2011

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



RE: Nice little randomizer coded by me^^ - finalfreak - 12-03-2011

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 ^^


RE: Nice little randomizer coded by me^^ - ArkPhaze - 12-03-2011

(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.


RE: Nice little randomizer coded by me^^ - finalfreak - 12-03-2011

when u make to much folders somebody could recognise

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


RE: Nice little randomizer coded by me^^ - ArkPhaze - 12-03-2011

(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%


RE: Nice little randomizer coded by me^^ - finalfreak - 12-03-2011

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....)


RE: Nice little randomizer coded by me^^ - ArkPhaze - 12-03-2011

No, English is more my first language now anyway, I've been out of Germany for about 7 years now, maybe 8.


RE: Nice little randomizer coded by me^^ - finalfreak - 12-03-2011

okay^^ but if anyone is interrested in my german translation of Xtreme RAT just PM me