Re: Set the time??
From: dude (dude_at_dude.com)
Date: 04/28/04
- Next message: Roland Hall: "Re: RegExp question"
- Previous message: Don Grover: "Re: RegExp question"
- In reply to: Charles Blair: "Re: Set the time??"
- Next in thread: Al Dunbar [MS-MVP]: "Re: Set the time??"
- Reply: Al Dunbar [MS-MVP]: "Re: Set the time??"
- Reply: Joe Earnest: "Re: Set the time??"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 29 Apr 2004 00:45:27 +0100
Cheers for that. Unfortunatly your reply raises another couple of
questions!
What does %comspec% do/return?
What does the 9, False do?
Cheers,
Danny
On Wed, 28 Apr 2004 15:17:13 -0700, "Charles Blair"
<charles_blair@hotmail.com> wrote:
> Set objShell = Wscript.CreateObject("Wscript.Shell")
> objShell.Run ("%comspec% /c NET TIME \\SERVER /SET /Y"), 0, False
>
>Charles
>
>"dude" <dude@dude.com> wrote in message
>news:7s3u80laqu8hi1dl3vdb52595ffvb8mvdf@4ax.com...
>> Is it possible to synchronise the time of the local machine via VBS -
>> like the command "NET TIME \\SERVER /SET /Y"
>>
>> Cheers.
>> Danny
>
- Next message: Roland Hall: "Re: RegExp question"
- Previous message: Don Grover: "Re: RegExp question"
- In reply to: Charles Blair: "Re: Set the time??"
- Next in thread: Al Dunbar [MS-MVP]: "Re: Set the time??"
- Reply: Al Dunbar [MS-MVP]: "Re: Set the time??"
- Reply: Joe Earnest: "Re: Set the time??"
- Messages sorted by: [ date ] [ thread ]