View Full Version : Invoking a file's property dialog


Vince C.
09-11-2005, 05:06 PM
Hi.

Is there a way to show a file's property dialog on the command line?

Thanks in advance,
Vince C.

Dean Wells [MVP]
09-11-2005, 08:09 PM
The graphical property sheet or its content presented as text? If the
latter, which properties are you interested in?

--
Dean Wells [MVP / Directory Services]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l

Vince C. wrote:
> Hi.
>
> Is there a way to show a file's property dialog on the command line?
>
> Thanks in advance,
> Vince C.

Michael Bednarek
09-11-2005, 11:59 PM
On Sun, 11 Sep 2005 18:06:22 +0200, "Vince C." <none@hotmail.com> wrote
in microsoft.public.win2000.cmdprompt.admin:

>Is there a way to show a file's property dialog on the command line?

To show the GUI property sheet, I use
PropsFor v1.0 -- (c) 1998 Matt Ginzton, MaDdoG Software

To show individual properies, I use 4NT's @VERINFO and other functions.

Which property in particular are you interested in, and do you want to
see the GUI property sheet or extract it within the CLI environment?

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

Vince C.
09-12-2005, 01:53 PM
I mean display the File Property Dialog box (hence the GUI) from a command
that is typed the command line. Typically some property sheet are invoked
using something like rundll function,args.

And if there is a text equivalent, why not :-) .

Vince C.

------

"Michael Bednarek" <ROT13-abfcnz-zo@gtz.pbz.nh> a écrit dans le message de
news: sgd9i1li0r31hhv7n8f981fqsj56ao6prm@4ax.com...
> On Sun, 11 Sep 2005 18:06:22 +0200, "Vince C." <none@hotmail.com> wrote
> in microsoft.public.win2000.cmdprompt.admin:
>
>>Is there a way to show a file's property dialog on the command line?
>
> To show the GUI property sheet, I use
> PropsFor v1.0 -- (c) 1998 Matt Ginzton, MaDdoG Software
>
> To show individual properies, I use 4NT's @VERINFO and other functions.
>
> Which property in particular are you interested in, and do you want to
> see the GUI property sheet or extract it within the CLI environment?
>
> --
> Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

Vince C.
09-12-2005, 01:54 PM
I mean display the File Property Dialog box (hence the GUI) from a command
that is typed the command line. Typically some property sheet are invoked
using something like rundll function,args.

And if there is a text equivalent, why not :-) .

Vince C.

------

"Dean Wells [MVP]" <dwells@mask.msetechnology.com> a écrit dans le message
de news: e63dbRwtFHA.1136@TK2MSFTNGP12.phx.gbl...
> The graphical property sheet or its content presented as text? If the
> latter, which properties are you interested in?
>
> --
> Dean Wells [MVP / Directory Services]
> MSEtechnology
> [[ Please respond to the Newsgroup only regarding posts ]]
> R e m o v e t h e m a s k t o s e n d e m a i l
>
> Vince C. wrote:
>> Hi.
>>
>> Is there a way to show a file's property dialog on the command line?
>>
>> Thanks in advance,
>> Vince C.
>
>

Michael Bednarek
09-12-2005, 02:51 PM
On Mon, 12 Sep 2005 14:53:14 +0200, "Vince C." <none@hotmail.com> wrote
in microsoft.public.win2000.cmdprompt.admin:

>I mean display the File Property Dialog box (hence the GUI) from a command
>that is typed the command line. Typically some property sheet are invoked
>using something like rundll function,args.

Doesn't PropsFor (<http://www.maddogsw.com/cmdutils/>) work for you
then?

>And if there is a text equivalent, why not :-) .

See below (4NT's @VERINFO).

>"Michael Bednarek" <ROT13-abfcnz-zo@gtz.pbz.nh> a écrit dans le message de
>news: sgd9i1li0r31hhv7n8f981fqsj56ao6prm@4ax.com...
>> On Sun, 11 Sep 2005 18:06:22 +0200, "Vince C." <none@hotmail.com> wrote
>> in microsoft.public.win2000.cmdprompt.admin:
>>
>>>Is there a way to show a file's property dialog on the command line?
>>
>> To show the GUI property sheet, I use
>> PropsFor v1.0 -- (c) 1998 Matt Ginzton, MaDdoG Software
>>
>> To show individual properies, I use 4NT's @VERINFO and other functions.
>>
>> Which property in particular are you interested in, and do you want to
>> see the GUI property sheet or extract it within the CLI environment?

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

Mark V
09-12-2005, 07:26 PM
In microsoft.public.win2000.cmdprompt.admin Michael Bednarek
wrote:

> On Mon, 12 Sep 2005 14:53:14 +0200, "Vince C."
> <none@hotmail.com> wrote in
> microsoft.public.win2000.cmdprompt.admin:
>
>>I mean display the File Property Dialog box (hence the GUI) from
>>a command that is typed the command line. Typically some
>>property sheet are invoked using something like rundll
>>function,args.
>
> Doesn't PropsFor (<http://www.maddogsw.com/cmdutils/>) work for
> you then?

PropsFor is not something I would use much, but am happy to hear of
it. Downloaded and saved. Thanks.

>
>>And if there is a text equivalent, why not :-) .
>
> See below (4NT's @VERINFO).
>
[ ]

Just to add that there is a CL util named verinfo.exe that may not
be associated with 4NT. This does not display all the Properties
but may display Version Tab data (YMMV)
http://www.angelfire.com/va3/winmem/

And there is FVER.EXE (again just Version infomation),
http://internet.cybermesa.com/~bstewart/wast.html

Vince C.
09-14-2005, 03:24 PM
"Michael Bednarek" <ROT13-zo@zorqanerx.pbz> a écrit dans le message de news:
2f1bi151sfvg85900d8f64ece34abo876i@4ax.com...
> On Mon, 12 Sep 2005 14:53:14 +0200, "Vince C." <none@hotmail.com> wrote
> in microsoft.public.win2000.cmdprompt.admin:
>
>>I mean display the File Property Dialog box (hence the GUI) from a command
>>that is typed the command line. Typically some property sheet are invoked
>>using something like rundll function,args.
>
> Doesn't PropsFor (<http://www.maddogsw.com/cmdutils/>) work for you
> then?

Well, I don't know; I expected Windows to have built-in tools for doing
that, just like what I wrote about rundll.exe. Since it's not built-in I
think I'll use scripting as usual.

There are many ways to go: either use the API ShellExecuteEx() (but it's not
scriptable) or the "Shell.Application" object. Folder items should have a
FolderItemVerb, which name is "properties". That should do the trick since a
script can always be run from the command line with either wscript.exe or
cscript.exe.

Thanks for your suggestions.

Vince C.

Michael Harris \(MVP\)
09-16-2005, 04:17 AM
> Well, I don't know; I expected Windows to have built-in tools for
> doing that, just like what I wrote about rundll.exe. Since it's not
> built-in I think I'll use scripting as usual.
>
> There are many ways to go: either use the API ShellExecuteEx() (but
> it's not scriptable) or the "Shell.Application" object. Folder items
> should have a FolderItemVerb, which name is "properties". That should
> do the trick since a script can always be run from the command line
> with either wscript.exe or cscript.exe.
>
> Thanks for your suggestions.

If you're into using free 3rd party utilities...

runmenu
http://www.eluent.com/runmenu.htm


--
Michael Harris
Microsoft MVP Scripting

Vince C.
09-22-2005, 12:19 PM
"Michael Harris (MVP)" <mikhar at mvps dot org> a écrit dans le message de
news: OAsOw1muFHA.2792@tk2msftngp13.phx.gbl...
> If you're into using free 3rd party utilities...
>
> runmenu
> http://www.eluent.com/runmenu.htm

Quite interresting. Thanks Michael.

Vince C.

Mark V
09-23-2005, 08:50 PM
In microsoft.public.win2000.cmdprompt.admin Michael Harris (MVP)
wrote:

>> Well, I don't know; I expected Windows to have built-in tools
>> for doing that, just like what I wrote about rundll.exe. Since
>> it's not built-in I think I'll use scripting as usual.
>>
>> There are many ways to go: either use the API ShellExecuteEx()
>> (but it's not scriptable) or the "Shell.Application" object.
>> Folder items should have a FolderItemVerb, which name is
>> "properties". That should do the trick since a script can
>> always be run from the command line with either wscript.exe or
>> cscript.exe.
>>
>> Thanks for your suggestions.
>
> If you're into using free 3rd party utilities...

I am. :-)

> runmenu
> http://www.eluent.com/runmenu.htm

Thanks a bunch, that looks very interesting! (and unkown to me)