Shell Process Date and Time Properties

  • Thread starter Thread starter Tanch
  • Start date Start date
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
 
Tanch,

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

KM
 
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



.
 
Tanch,
I would try something like this:

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

Regards,

Sean Gahan
 
Back
Top