How can I make empty directories from a text file.

English support forum

Moderators: Hacker, petermad, Stefan2, white

nimbus
Junior Member
Junior Member
Posts: 30
Joined: 2004-01-07, 22:31 UTC
Location: turkiye

Post by *nimbus »

icfu wrote:It's not the other way but the same say only by manually editing.
Manually editing a file, entering md in each line (for which you need an advanced text editor which you have to start, too, and afterwards even saving it as a batch file and starting it is definetely not faster but slower than dragging&dropping to a button or even just pressing a button, that's rather obvious. How can you tell me that this could be faster?

Icfu
if the result is same then the way is the other way .

I think it's unjust and sorry but a little comic calculation.
while creating your command file, not to need any text editor (simple or advanced like free pspad)? create file, write some program codes, save it total's dir (browse for it) , add button to bar, browse again for xx.cmd etc. Do u have to plan; take them into "your way's" calculation. be fair please.

"it is only for one time?". yep thats true, and I think many user needs maybe 1 time in a year that kind of batch. next year you dont remember what was the button. So if you make some equitable calculation please include everything.

it is necessary to reappraise the "faster" mean with explanation and with this picture;
http://img220.exs.cx/img220/5590/makedirmanually1mv.png

creating 1200 directory have took 8 seconds.( include pressing enter :P ). put 2 minutes for adding "md " every line with column mode in text editor. is this too much? I dont feel a robot.

I am not opposite of the "button and code" solution and even, it is good to learn that some extra commands can be creatable with using xxx.cmd files.

2Sheepdog

your every word is true.
but do you perceive at length expression for my way in your thread. If u try, you can make same for "automatic way" too. So sorry but I see some privilege support for moderator or "power user" friend.
and my opinion, experienced "moderator or power members" like you, should be understand which answer are real and which are reaction. take a look your quote again please. can it be reaction part?
sheepdog wrote:And icfus command does the same as you propose. ....
thanks for this
sheepdog wrote:...But automatically.
I dont ask what is automatically. I understood what you mean to.
regards
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

@nimbus:
You like to argue, ok. :)

1. The point is that when someone asks a question like
Is there a way to make empty directories from a text file?
I, not you obviously, expect that he wants to create directories more than once in a year, otherwise he would probably just have created the directories and not have wasted his time asking for a solution to create them from a text file, at least this is my impression. I might be wrong of course...

2. Your argumentation that the time needed to create both solutions are equal has a little flaw and the flaw is called "advanced text editor". You are presupposing that the questioner already has one installed or knows at least about column mode because otherwise he would have to install one, find the column mode, edit the file, save it under a different name, etc... So, all that effort for creating directories ONCE?

3. There is nothing wrong with your manual solution and of course this is EXACTLY THE WAY I would do it if I needed a temporary solution because it's faster than creating the "complicated" batch ad hoc myself and writing it to a button. But, again, it's unsuited when people are asking for solutions that's why I presented the all-in-one solution without asking the user to study other applications first. Your argument
next year you dont remember what was the button.
is pretty sweet because if one thing is clear it's that a newbie will still be able to read a tooltip on a button in a year but for sure not remember the way how to prepare a text file with a DOS command.
"How was that thing, ah, two letters, ah, sh**, let's ask again in the forum...". ;)

In the end:
The batch file is unneeded in general because the command perfectly fits on the button itself. I just proposed the drag&drop solution because creating hundreds of directories by accidental button click might be unwelcome. I told him that the solution can be customized but as he hasn't asked for more I am sure that he is happy with it.

Maybe he will visit us again and tell us his point of view. Maybe he already owns a decent text editor and is happy with your solution as well, let's wait and see.

Icfu
This account is for sale
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

2icfu
@nimbus:
You like to argue, ok.
icfu, you're the man who began this "personal" quarrel.

icfus solution is elegant but it works on WNT-based systems only. nimbus solution isn't difficult to understand and would work on W3.11 and W9x too. There nothing wrong with both solutions - everybody can do his own decision.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

There is neither a quarrel nor a "quarrel" and absolutely nothing "personal" or even personal going on, hence the smilie in that quote, and even if there was it would be the choice of our wonderful moderators to intervene, not yours.

So, if you have anything to complain about my style of writing please complain to the mods and send them whatever quote you like, I won't comment on that "anymore", thank you.

Icfu
This account is for sale
Post Reply