Jump to content
Sign in to follow this  
ter-pierre

net time

Recommended Posts

ter-pierre

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
emmanuel

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
emmanuel

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.