Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Software > Visualisation
Minimize Text   Default    Enlarge Text
 

Print
E-mail

How Do I Set The Date And Time On The PC From CX-Supervisor


The following script (in VBScript) will set the date and time on the local PC clock to 13:13 on 10/10/09:

Dim WshShell

Set WshShell = CreateObject("WScript.Shell")

WshShell.Visible = false

WshShell.Run "cmd /C time 13:13"
WshShell.Run "cmd /C date 10/10/09"

Set WshShell =
Nothing




Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2009-10-14
Modified 2009-10-14
Views 2786

 

You are not logged in.