Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set the computer clock from VFP ?
Message
From
19/10/2000 18:50:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00431253
Message ID:
00431887
Views:
10
>Hi All
>
>I need to create some kind of Time Synchronization scheme, but unfortunately I can not find a command to set the clock of the computer directly from VFP (VFP5a) and also a VFP command to retrieve the time from a server (NT Server).
>
>I hope someone can help me out.
>
>TIA - Tony

! net time ...

NET TIME [\\computername | /DOMAIN[:domainname] | /RTSDOMAIN[:domainname]] [/SET]
[\\computername] /QUERYSNTP
[\\computername] /SETSNTP[:ntp server list]
Previous
Reply
Map
View

Click here to load this message in the networking platform