Login Register


Mass Folder Creator (Much Improved) filter_list
Author
Message
Mass Folder Creator (Much Improved) #1
Code:
@ECHO OFF SETLOCAL ENABLEDELAYEDEXPANSION set /a count=10 set /a buffer=1000 if [%1]==[] ( set /a i=0 :cont if !i! lss %count% ( set /a val=!i!*!buffer! start cmd.exe /c %0 !val! set /a i+=1 goto :cont ) exit ) set /a c=%1+!buffer!-1 for /l %%G in (%1,1,%c%) do ( md f_%%G ) goto :eof

What this does is create 10 * 1000 (buffer * count variable) folders, except it's much faster because you have several batch files running at a single point in time creating each range of 1000 (buffer) folders.

So here, we have in this example 1 batch script running to create folders 0-999, another for 1000-1999, and another for 2000-2999, etc... So that we result in 0-9999 folders, which is exactly 10 000 folders because we include 0 as a folder.

It does this by starting a new instance of itself to run, with custom/modified arguments each time for where to begin and leave off with creating folders; ranges.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Mass Folder Creator (Much Improved) #2
You could write some more code faster windows 7 to zamuliło it was needed or that format? because I see that you're a programmer? I mean here is to destroy the system of windows 7 infected bat?

Reply

RE: Mass Folder Creator (Much Improved) #3
You could write some more code faster windows 7 to zamuliło it was needed or that format? because I see that you're a programmer? I mean here is to destroy the system of windows 7 infected bat?

Reply

RE: Mass Folder Creator (Much Improved) #4
(05-03-2013, 09:46 PM)kairo1981 Wrote: You could write some more code faster windows 7 to zamuliło it was needed or that format? because I see that you're a programmer? I mean here is to destroy the system of windows 7 infected bat?

I did not understand a single thing you just said... I have no clue what it has to do with my script though either. :huh:
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Mass Folder Creator (Much Improved) #5
(05-03-2013, 09:46 PM)kairo1981 Wrote: You could write some more code faster windows 7 to zamuliło it was needed or that format? because I see that you're a programmer? I mean here is to destroy the system of windows 7 infected bat?

I did not understand a single thing you just said... I have no clue what it has to do with my script though either. :huh:
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Mass Folder Creator (Much Improved) #6
Can you write something more something more powerful for windows 7 system?

Reply

RE: Mass Folder Creator (Much Improved) #7
Can you write something more something more powerful for windows 7 system?

Reply

RE: Mass Folder Creator (Much Improved) #8
(05-04-2013, 09:58 AM)kairo1981 Wrote: Can you write something more something more powerful for windows 7 system?

More powerful? What exactly are you expecting to happen? lol this is just a mass folder creator... And there's really not much in batch either that would be OS strict, and in which would require something to be written for Windows 7 in specific either. I read that you want to "destroy" Windows 7 though, but with a batch script? You can't be serious...

I think you've got a bit of research to do before you start saying things like that lol.

Here you go: Smile
Code:
@echo Your system is destroyed...
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Mass Folder Creator (Much Improved) #9
(05-04-2013, 09:58 AM)kairo1981 Wrote: Can you write something more something more powerful for windows 7 system?

More powerful? What exactly are you expecting to happen? lol this is just a mass folder creator... And there's really not much in batch either that would be OS strict, and in which would require something to be written for Windows 7 in specific either. I read that you want to "destroy" Windows 7 though, but with a batch script? You can't be serious...

I think you've got a bit of research to do before you start saying things like that lol.

Here you go: Smile
Code:
@echo Your system is destroyed...
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Mass Folder Creator (Much Improved) #10
thznk you ehheeh

a little more polite to one, two, you can do something better or not? difficult to answer?

Reply







Users browsing this thread: