Linux script on Windows to chjange Date and Time

Alessandro Brezzi alessandro.brezzi at gmail.com
Sat Sep 30 07:58:32 UTC 2006


Hi Fernando,

2006/9/29, Tom Diehl <tdiehl at rogueind.com>:
> On Fri, 29 Sep 2006, Fernando Lozano wrote:
>
> > Alessandro,
> >
> >> My be the simple and faster way is to elect one or two of your Linux
> >> box to run ntpd and to sync time from the internet. Then in the M$Win
> >> box uset the NET TIME command to point to the Linux box.
> >
> >
> > NET TIME needs the user to confirm the change, keying "y". Do you know
> > any means of swtiching this confirmation off, so I can use NET TIME from
> > windows login scripts?
>
> net time \\foggy /set /y
>
> Season to taste. You should really ask this on a windoze list though.
>
> Regards,
>
Tom pointed out the correct form; I'm not a M$Win guru at all and I
recalled back in Win2000 no question was posed. Sorry for the delay.

-- 
Alessandro Brezzi




More information about the users mailing list