[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-clonage/sources/quitte_se3/outils/ -> alternative_reboot.bat (source)

   1  rem Ajouter un test sur l'OS...
   2  if "%OS%"=="Windows_NT" goto xp
   3  
   4  :w9x
   5  rem arret au lieu de reboot:
   6  rem RUNDLL32.EXE User.exe,ExitWindows
   7  
   8  rem rundll32.exe shell32.dll,SHExitWindowsEx n
   9  rem ou 'n' peut valloir:
  10  rem 0 - LOGOFF
  11  rem 1 - SHUTDOWN
  12  rem 2 - REBOOT
  13  rem 4 - FORCE
  14  rem 8 - POWEROFF
  15  rem (en combinant: 6 = 2+4 FORCE REBOOT)
  16  
  17  rundll32.exe shell32.dll,SHExitWindowsEx 6
  18  goto fin
  19  
  20  :xp
  21  %windir%\System32\SHUTDOWN.exe -r -t 0
  22  
  23  :fin


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1