Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for poweroff.rex

(view source code of poweroff.rex as plain text)

  1. /* PowerOff your local computer                     */
  2. /* Requires Regina Rexx for Windows with W32Funcs   */
  3. /* Regina Rexx: http://regina-rexx.sourceforge.net/ */
  4. /* W32Funcs:    http://www.interlog.com/~ptjm/      */
  5.  
  6. call RxFuncAdd 'W32LoadFuncs', 'W32Util', 'W32LoadFuncs'
  7. call W32LoadFuncs
  8.  
  9. rc = W32SysShutdown( "P", "F" )
  10.  

page last modified: 2024-04-16; loaded in 0.0040 seconds