Jump to content

net time


ter-pierre
 Share

Recommended Posts

Hi.

some one have an intelligent idea to adjust my workstation clock according my Domain Controller clock?

with kix i use SetTime... I try to use "net time..."

$NETTIME="net time " & $DC & " /Set /yes"

RunWait ($NETTIME)

but the DOS windows stay open and i need to close manualy

:">

tks

Link to comment
Share on other sites

Hi.

some one have an intelligent idea to adjust my workstation clock according my Domain Controller clock?

with kix i use SetTime... I try to use "net time..."

$NETTIME="net time " & $DC & " /Set /yes"

RunWait ($NETTIME)

but the DOS windows stay open and i need to close manualy

:">

tks

<{POST_SNAPBACK}>

look in the helpfile's entries for run and runwait, there's info there about using @comspec... Give that a shot... (not being mean, just that you'll learn better if you find it for yourself :ph34r:)

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...