NET TIME was my first thought too, but it only allows you to set your time
to that of another machine.

-----Original Message-----
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Tobias Hoellrich
Sent: Monday, September 26, 2011 7:12 PM
To: 'Barry Brevik'; perl-win32-users@listserv.ActiveState.com
Subject: RE: Setting file server time

Also take a look at "net time":
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-
us/net_time.mspx?mfr=true

Cheers - T

-----Original Message-----
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Howard Tanner
Sent: Monday, September 26, 2011 5:08 PM
To: 'Barry Brevik'; perl-win32-users@listserv.ActiveState.com
Subject: RE: Setting file server time

You can use the DOS TIME command to set the time (it uses military time). To
execute it on a remote computer, I recommend psexec from Sysinternals. The
advantage of psexec is you don't have to install anything on the remote
machine - pstools installs itself there automatically if it needs to (and
you have admin rights on the machine). psexec isn't available on its own,
you have to download the entire command line suite, called pstools:

http://download.sysinternals.com/Files/PsTools.zip
                
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to