Shutdown windows

Discussion in 'Windows Desktop Systems' started by brocher, Jun 8, 2003.

  1. brocher

    brocher Moderator

    Messages:
    516
    Can anyone tell me how to for a command that when written to CD, that when the cd is inserted in to a pc the command runs first and shuts down the pc before the contents on the disc are automatically played.
     
  2. mbunny

    mbunny Guest

    i can already see a malicious intent for such a CD :/
     
  3. dave holbon

    dave holbon Moderator

    Messages:
    1,014
    Location:
    London England
    This script should do the trick: -

    "Rundll32.exe Shell32.dll,SHExitWindowsEx 2"

    :) :)