(view source code of poweroff.rex as plain text)
/* PowerOff your local computer */
/* Requires Regina Rexx for Windows with W32Funcs */
/* Regina Rexx: http://regina-rexx.sourceforge.net/ */
/* W32Funcs: http://www.interlog.com/~ptjm/ */
call RxFuncAdd 'W32LoadFuncs', 'W32Util', 'W32LoadFuncs'
call W32LoadFuncs
rc = W32SysShutdown( "P", "F" )
page last modified: 2024-04-16; loaded in 0.0040 seconds