Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Rebooting the system

didanididani Member Posts: 99
My second message on my own board... hmmzzz..
Peoplez, post please!

In this post I want to talk about shutting down the computer. In visual basic this can be done by either one of these four:
Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 1"
Shell "runonce -q"
Shell "SHUTDOWN -r -t 11"
Shell "RUNDLL32 KRNL386.EXE,exitkernel"
Or you can you the old-fashioned way: the power switch! :-p

that's it for today, and for this code, my regards go to Rob van der Woude!

EtHeO out...

Comments

  • PaesanoPaesano Member Posts: 8
    : My second message on my own board... hmmzzz..
    : Peoplez, post please!
    :
    : In this post I want to talk about shutting down the computer. In visual basic this can be done by either one of these four:
    : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 1"
    : Shell "runonce -q"
    : Shell "SHUTDOWN -r -t 11"
    : Shell "RUNDLL32 KRNL386.EXE,exitkernel"
    : Or you can you the old-fashioned way: the power switch! :-p
    :
    : that's it for today, and for this code, my regards go to Rob van der Woude!
    :
    : EtHeO out...
    :
    [hr]
    I am pleased to find this board... for many reasons. My curiosity will now be unleashed!

    The title of this thread is "Rebooting the system." Do either of the four methods described here actually reboot the machine, or do they just shut her down? If they just shut her down, is there a way to actually reboot the machine?



  • didanididani Member Posts: 99
    : : My second message on my own board... hmmzzz..
    : : Peoplez, post please!
    : :
    : : In this post I want to talk about shutting down the computer. In visual basic this can be done by either one of these four:
    : : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 1"
    : : Shell "runonce -q"
    : : Shell "SHUTDOWN -r -t 11"
    : : Shell "RUNDLL32 KRNL386.EXE,exitkernel"
    : : Or you can you the old-fashioned way: the power switch! :-p
    : :
    : : that's it for today, and for this code, my regards go to Rob van der Woude!
    : :
    : : EtHeO out...
    : :
    : [hr]
    : I am pleased to find this board... for many reasons. My curiosity will now be unleashed!
    :
    : The title of this thread is "Rebooting the system." Do either of the four methods described here actually reboot the machine, or do they just shut her down? If they just shut her down, is there a way to actually reboot the machine?
    :
    :
    :

    Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 2" makes the machine reboot.
    Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 1" makes it shut down
    Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 0" is a log off
    Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 4" shuts down & forces programs to close
    Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 8" if supported by the hardware, it powers off the computer
  • PaesanoPaesano Member Posts: 8
    : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 2" makes the machine reboot.
    : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 1" makes it shut down
    : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 0" is a log off
    : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 4" shuts down & forces programs to close
    : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 8" if supported by the hardware, it powers off the computer
    :
    [hr]
    Thanks for clearing things up! These will prove to be quite valuable! (Grin)


  • didanididani Member Posts: 99
    : : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 2" makes the machine reboot.
    : : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 1" makes it shut down
    : : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 0" is a log off
    : : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 4" shuts down & forces programs to close
    : : Shell "RUNDLL32 SHELL32.DLL,SHExitWindowsEx 8" if supported by the hardware, it powers off the computer
    : :
    : [hr]
    : Thanks for clearing things up! These will prove to be quite valuable! (Grin)
    :
    :
    :
    Glad to be of assistance....
    Spread the word, malicious scripting is coming for you....

    EtHeO out...
Sign In or Register to comment.