PDA

View Full Version : timedate.cpl


RobbyH
02-16-2003, 04:39 PM
If you go to your run command on the start menu, you can type timdat.cpl, and it will pop up the time/date screen you get when you double click on the time in your taskbar. I have tried using the file open action to run this, and it will not run it, says there is no application associated with the file type. Does anyone know how I would get this to work from within AMS?
Robby

Corey
02-16-2003, 04:50 PM
Not sure, but your first sentence doesn't hold true for Win98SE. There's no such file as "timdat.cpl"...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Option_Explicit
02-16-2003, 07:34 PM
piece of cake.
you'll need to use conditions to get across windows platforms
For Win9x -Me
Use file.execute %WinDir%\control.exe with arguments timedate.cpl
For Win2k - XP
Use file.execute %WinDir%\system32\control.exe with arguments timedate.cpl

the command line equivilent would be C:\windows\control.exe /timedate.cpl

RobbyH
02-16-2003, 09:28 PM
Thanks, worked great!
Are there a lot of different Windows features you can access using this control.exe?
Where could I find out more about this kind of stuff?

John-oh
02-17-2003, 07:41 AM
Try :

http://perso.wanadoo.fr/tmcd2/CPL.htm