Shell Process Date and Time Properties

T

Tanch

Anyone know of a way to shell out a command to launch the
date and time properties dialog. I'm using custom shell,
but I need to launch this UI.

Thank you very much.

Tanch
 
K

KM

Tanch,

"control.exe timedate.cpl"
or
"control.exe date/time"
or
"rundll32.exe shell32.dll,Control_RunDLL timedate.cpl"

KM
 
G

Guest

Thank you very much for the quick response.
-----Original Message-----
Tanch,

"control.exe timedate.cpl"
or
"control.exe date/time"
or
"rundll32.exe shell32.dll,Control_RunDLL timedate.cpl"

KM



.
 
S

Sean Gahan

Tanch,
I would try something like this:

Set objShell = Wscript.CreateObject("Wscript.Shell")
objShell.Run "cmd /c timedate.cpl", 0, True

Regards,

Sean Gahan
 

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