Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I want to add a time sync line to my batch file, using a local named computer [\\Asf-2]. I thought this should work:
>echo y|net time \\Asf-2 /set
But I get this output:
Current time at \\Asf-2 is 7/15/2005 11:20 AMThe current local clock is 7/15/2005 11:20 AM
Do you want to set the local computer's time to match the
time at \\Asf-2? (Y/N) [Y]:
No valid response was provided.So the pipe command isn't working in this situation... it does in this situation though:
>echo.|time
The current time is: 11:22:28.34
Enter the new time:
>Which is exactly the behavior I want for the first situation.
Any ideas/workararounds/other ways to sync time to a local machine (not a server or internet time).
Tx R

Hi Rusty,
Yeah, it sure doesn't show in help.
Another case of winders "help" LOL.
I just kept typing in different stuff until I got it to work.
As ever, old age and treachery prevail over youth and enthusiasm.
M2
If at first you don't succeed, you're about average.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |