Creating Shut and restart button

Discussion in 'Windows Desktop Systems' started by FoSsiL, Feb 25, 2003.

  1. FoSsiL

    FoSsiL Guest

    do anyone know the file path to creating a restart and shut down button? i want to use these option on my keyboard
  2. GoNz0

    GoNz0 NTFS Stoner

    the year 2525
    have u tried a google on that, i seen it done before. if i had the time i would find it for you.. gl
  3. sboulema

    sboulema Moderator

    Amstelveen, The Netherlands
    restart: %windir%\System32\shutdown.exe -r -t 0
    shutdown: %windir%\System32\shutdown.exe -s -t 0
    log off: %windir%\System32\shutdown.exe -l -t 0
  4. FoSsiL

    FoSsiL Guest

    thnx! 1 more newbie ques. how do I add an extra command function? i want to combine a exe file to ether restart or shut down button in my local root folder c:\windows\

    do i put it together like
    Ex: restart: %windir%\System32\shutdown.exe -r -t 0 c:\windows\exe