Jump to content
Sign in to follow this  
ter-pierre

net time

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

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

TKS.... i find the way...

:ph34r:

<{POST_SNAPBACK}>

Go for it! You can do it!

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

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...