but after add echo off in the first line then double click on a batch it work. I was mean I want to do this task every day morning at 08:00 am automatically without double click on the file or make schedule from system tools.
I have many PC's connected through a network.For specific reason I want to reboot theses PC's every day at 08:00 morning so if there are any way or idea to reboot the PC by batch file it is will great.
You basically have 3 options. Schedule the task as has been outlined to you (remember, the task itself has to be created by someone with the proper credentials). Manually reboot each PC every morning, or finally, never reboot any of them.
I don't understand your objection to using the command line to schedule the task. Even if we provided you with a batchfile, you'd STILL have to run around and schedule it on each individual PC! There is no magic application out there that you can schedule once on a server (or PC) and have it reboot all PC's in your network.......period!
I'm sorry but, you've been given solid advice on a simple way to accomplish your goal (which in and of itself makes no sense. I never shut my work PC off without good reason and it's likley been months since it was rebooted. Rebooting in and of itself is useless unless you've misconfigured something or are running a lousy app that eats up memory and won't release it when it's done. I rarely, if ever reboot my home PC's either. The one that's my firewall hasn't been reset or shutdown in months because rebooting is unnecessary) if you choose to grasp at straws that's not our problem. We've tried to help you to our own frustration.
I agree with u but I was Know if there way to do this in the network coz I have many PC's connected through wireless but every morning some of PC dosen't connected through the Net. but after restart the PC's the connection back again , so I but some of these PC's from power and option never standby ,so now I think the problem resloved. thanks
Just out of curiosity, what happens if a user is logged into the computer and, God forbid, actually working at 0800? Won't he/she get just a tiny bit upset if the computer suddenly reboots when the he/she is in the middle of working on something important? How are you going to explain that to him/her if data is lost?
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE