Command Line for "Create New Folder" ?

J

ju.c

Does any one know the command line that is executed
when the "Create New Folder" button is clicked?
Or also, 'New-->Folder'.

I know that it's the "shell32.dll" file that is called and
invoked is "SHCreateDirectory".

Thanks.
 
R

Roy Smith

ju.c said:
Does any one know the command line that is executed
when the "Create New Folder" button is clicked?
Or also, 'New-->Folder'.

I know that it's the "shell32.dll" file that is called and
invoked is "SHCreateDirectory".

Do you mean the equivalent DOS command? It's either one of the two
following commands:

MKDIR [Drive:]path
MD [Drive:]path
 
T

Tim Meddick

Why would you even want to know this?

Very few and far between function calls can be executed from the command-line (using
Rundll32.exe), so few, that it's like looking for a needle in the proverbial
haystack!

You would be better off looking to a "shell-helper" tool like nircmd.exe which *can*
execute the shell create directory function for you, amongst a lot of other things
besides.

You can download 'nircmd.exe' from :

http://www.nirsoft.net/utils/nircmd.zip


==

Cheers, Tim Meddick, Peckham, London. :)
 
J

ju.c

Thanks, but I learned that in the 70's.


ju.c


Roy Smith said:
ju.c said:
Does any one know the command line that is executed
when the "Create New Folder" button is clicked?
Or also, 'New-->Folder'.

I know that it's the "shell32.dll" file that is called and
invoked is "SHCreateDirectory".

Do you mean the equivalent DOS command? It's either one of the two
following commands:

MKDIR [Drive:]path
MD [Drive:]path
 
T

Twayne

Have you even considered how badly your question is phrased? A little
background might have gotten you just what you needed. Tim Meddick may
well have given you the most relevent of the answers given so far, but
your snippy egocentric responses are hurting you as far as getting good
information goes now. The other responders weren't wrong either, in the
sense that they probably tried to provide the best info they could.
Instead of your boorish tactics, a "no, what I meant was ... " would
have helped you a lot.
You are positive you know where it's located, so now I suspect you'll
get to figure out the rest of it on your own too unless you find the
right kind soul who guesses correctly at what you really want to know.

HTH,

Twayne`
 
T

Tim Meddick

I was trying to be helpful.

But as your over-reactive answer has put me off, I promise not to respond to *any*
further posts set by yourself.

==

Cheers, Tim Meddick, Peckham, London. :)
 
T

Tim Meddick

John,
In answer to your question
"I for one would be interested to know if the reply others have posted - that
md/mkdir is the command - was what the original poster was after"

I was going to say that; as "ju.c" is an experienced and knowledgeable regular and
well respected amongst these groups, I doubt very much that what he wanted to know
was the 'Command Processor' [DOS prompt] equivalent, as I am sure he will know of it
already.

That said, it is simply MD [dir name]or MKDIR [dir name] (type MD /? for help).

But I don't think he wants my opinion any more, so I shalln't bother...

==

Cheers, Tim Meddick, Peckham, London. :)




J. P. Gilliver (John) said:
Tim Meddick said:
Why would you even want to know this?

Very few and far between function calls can be executed from the command-line
(using
Rundll32.exe), so few, that it's like looking for a needle in the proverbial
haystack!

You would be better off looking to a "shell-helper" tool like nircmd.exe which
*can*
execute the shell create directory function for you, amongst a lot of other things
besides.

You can download 'nircmd.exe' from :

http://www.nirsoft.net/utils/nircmd.zip

I for one would be interested to know if the reply others have posted - that
md/mkdir is the command - was what the original poster was after.
[]
--
J. P. Gilliver. UMRA: 1960/<1985 MB++G.5AL-IS-P--Ch++(p)Ar@T0H+Sh0!:`)DNAf
** http://www.soft255.demon.co.uk/G6JPG-PC/JPGminPC.htm for ludicrously
outdated thoughts on PCs. **

A professor is one who talks in someone else's sleep.
 
J

ju.c

You can't understand this question?

"What command line that is executed when the
"Create New Folder" button is clicked."


ju.c
 
J

ju.c

Thank you.


ju.c


Tim Meddick said:
I was trying to be helpful.

But as your over-reactive answer has put me off, I promise not to respond to *any*
further posts set by yourself.

==

Cheers, Tim Meddick, Peckham, London. :)
 
T

Twayne

ju.c said:
You can't understand this question?

"What command line that is executed when the
"Create New Folder" button is clicked."

You should know that depends on how/what commands of what functions are
being used. There are several possibilities with XP's cll, well beyond
what DOS used.
So no, considering the entire content of the post you placed here,
it's hard to say what the question was. SHCreateDirectory BTW says a
lot about your question and your intent. And you know that. You're doing
nothing but trolling now.

Twayne`
 
T

Tim Meddick

Twayne,
I don't understand why, when "ju.c" gives out some quite respectful
advice sometimes, that in this instance he seems to have "lost it".

He doesn't seem to be able to grasp that not all DLL subroutines (calls) can be
executed from a command line or "Run" box - in fact, very few can!

It might seem like there are a lot of DLL subroutines that CAN be executed via
RunDLL32.exe, but bearing in mind there are hundreds of thousands of calls that
cannot be executed that way - it's a drop in the ocean.

Why does he think that he can do anything with the name of the DLL call if he found
what it was?

In fact, I found three function calls :

SHCreateDirectory
SHCreateDirectoryExA
SHCreateDirectoryExW

....and none of them succeed with RunDLL32.exe to create anything.

==

Cheers, Tim Meddick, Peckham, London. :)
 
S

Stan Brown

Sat, 1 Aug 2009 05:54:01 -0700 from ju.c
You can't understand this question?

"What command line that is executed when the
"Create New Folder" button is clicked."

No command line is executed.

If you're asking, what would YOU type on the command line to cause
the same effect, the command is MD or MKDIR (synonyms).
 
T

Twayne

Dunno, Tim. I still think it's a poorly worded query and I'm suspecting
it's on purpose now. I'm 99.9% certain he's done the same thing a
couple of times in the past, some time ago now, and he'll continue to
argue until the thread just dies out.

There's always the slight possibility that our infamous imposter or a
copy-cat is at work, but I don't really think that's the case. Everyone
has their little quirks I guess.

As for the DLLs, APIs and so forth, as far as I'm concerned it's all
moot because he never has clarified precisely what it is he wants to
know. If it's the actual code used in the calls etc., he should just
open them up and look, then decide for himself whether there is a CLI
that does whatever it is he needs.
It's a case of many ways to skin a cat, excuse the morbid reference,
so unless he wishes to clarify/verify what he is looking for, there's no
sense in trying to assist him now. Others are more deserving IMO in
view of his negative reactions to multiple reasonable and logical
responses from posters trying to help him out.

Cheers,

Twayne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top