Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Can someone teach me how to write a simple script to change the clock of Windows2000 and can be activated by shortcuts. If now, can you please point me to a site which I can look it out myself.
Name: futuretech Date: June 23, 2002 at 10:40:41 Pacific
Reply:
What do you want to set/sync the clock to? If you have a server running or access to the internet you can use net time /set computername (this would set the time from a computer of your choice on the network.) net time /setsntp:address_of_a_time_server As for a batch file you should be able to just write one that has the line time in it. an example would be Rem a batch file to allow the user to set the time on their computer TIME REM end of batch file.
Then save it as time.bat This can be done through notepad.
0
Response Number 2
Name: futuretech Date: June 23, 2002 at 10:42:46 Pacific
Reply:
I forgot to also add that you could then create a shortcut to the TIME.bat file and place it on the desktop or quick launch bar.
Thanks FutureTech!!!!! You instruction is very clear.
I would like to do something like this:
Step 1-Starting the program ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Save the current date (maybe to a file) -> Change the date to 1/1/19997 ->activate an old program which only run on that date.
Step 2-After using the program ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Read the date from the file -> Change back the date after using the program.
Summary: I need to know how to write a script that willcheck the computer and server accounts 4 times a day, then report after a month on the ones that do not respond to a ping. I would also like it to follow ...
Summary: I want to write a script (or something) that will either email or place in a file, my ip address every time I connect to the internet via dial-up. How can I do this? ...
Summary: I have a mail merge document sourcing from our oracale database into word 2000. I need to write a macro to italicize 2 words after the document merges. I have no idea how to write a macro. Can some...