Automating restart of PC

  • Thread starter Thread starter cj
  • Start date Start date
C

cj

I'm using VB2003 running on Windows 2000 5.00.2195 Service Pack 4 and
Windows XP Pro Version 2002 Service Pack 2 PCs.

I understand the Windows API offers a way for the program to reboot the
pc w/o asking me any questions. Just shut it down and restart it. Can
someone tell me how to do this? Thanks.
 
I understand the Windows API offers a way for the program to reboot the
pc w/o asking me any questions. Just shut it down and restart it. Can
someone tell me how to do this? Thanks.


shutdown /? will help you

Tym

~There's no place like 127.0.0.1~
 
Are you supposed to run this from the VB program like you'd launch a dos
program? There's not a system.something to do this? Don't get me wrong
if it works it's ok with me. I'll look into it.
 
Back
Top