Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restart the computer

Status
Not open for further replies.

hugh999

MIS
Nov 29, 2001
129
IE
Hi

I have a program that will run a reg file to change the value of a code page value. For the value to take affect I need to restart the computer.

Can anyone point me in the right direction for documentation on how to restart the computer, enter log on details, open the program and continue on with the code that comes after the re-start code.

I know I am asking a lot but a starting point would be great.

Thanks
 
Couple ways. Download the PStools from microsoft and it has built in calls to restart.

Another way is use a batch file below:
@echo off
shutdown -f -r -t 03 -c "Restart"

~CIAO~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top