It's simple programmatically with ShellExecute to specify the properties verb when instructing Windows to open a file, but can this be done from the command line or run box?

Ideally I'd like to do this without an external program or script.

It appears to be possible by calling ShellExecute by using rundll32.exe, but not without the right parameters.

link|improve this question

50% accept rate
feedback

1 Answer

You can use start->run rundll32 with ...

rundll32 shell32.dll,ShellExecute [args]

... but I'm not sure the args you would use to get the properties.

link|improve this answer
Jim Barry, MVP for Windows SDK says : Unfortunately ShellExec_RunDLL doesn't provide any way to specify a verb. I can't think of a simple way of doing it either. "Properties" is a "verb" in Windows SDK parlance. – GeneQ Jul 26 '09 at 20:21
Anybody know what the arguments would be? – Factor Mystic Jul 26 '09 at 23:15
1  
There is no arguments that will open the properties via this method. – John T Jul 29 '09 at 2:59
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.