Hey, I want to know if there is any script to shut down the PC. Thank you. I translate from spain with google
Announcement
Collapse
No announcement yet.
Off Pc
Collapse
X
-
Sure. You should be able to put this in a file named shutdown.bat
Code:rem 0 = Log Off rem 1 = ShutDOwn rem 2 = Restart rem 4 = Forced rem 8 = Poweroff rem You can combine these shotdown options by totaling their value. E.g. 12 = Poweroff + Forced C:\WINDOWS\system32\RUNDLL32.EXE shell32.dll,SHExitWindowsEx 8
-
I posted the entire script. You can simply create a file named shutdown.bat and then cut and paste these lines into the file. Then to test it simply double click on the file. If this works then setup and event to run this file using an action of Launch Application. Put this file in your scripts folder and reference the path to the file in the event action.
Comment
-
Originally posted by Rupp View PostSure. You should be able to put this in a file named shutdown.bat
Code:rem 0 = Log Off rem 1 = ShutDOwn rem 2 = Restart rem 4 = Forced rem 8 = Poweroff rem You can combine these shotdown options by totaling their value. E.g. 12 = Poweroff + Forced C:\WINDOWS\system32\RUNDLL32.EXE shell32.dll,SHExitWindowsEx 8
Lo que tienes que hacer es copiar estas instrucciones en la section de "action" y luego ejecuta el evento.Hector
____________________________________
Win.2003 OS, HS3
BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
MyTrigger,ACRF2,W800,Zwave
AP800,Honeywell Stat
Comment
-
Originally posted by Rotech View PostFelipe
Lo que tienes que hacer es copiar estas instrucciones en la section de "action" y luego ejecuta el evento.
Comment
-
Why, is that rupp, aim just trying to help. Cant you see he has problem trying to understand, whats wrong speaking in another language?Last edited by Rotech; October 12, 2008, 06:15 PM.Hector
____________________________________
Win.2003 OS, HS3
BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
MyTrigger,ACRF2,W800,Zwave
AP800,Honeywell Stat
Comment
-
Originally posted by Rotech View PostWhy, is that rupp, aim just trying to help. Cant you see he has problem trying to understand, whats wrong speaking in another language?
You missed the little smiley face at the end denoting humor.Marty
------
XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
Playing with HS3 a bit but it's just play at this point.
Comment
-
Maybe the smiley face means something different in Spanish
I think it is great that some people speak more than one language, me I am totally "single tongued"Over The Hill
What Hill?
Where?
When?
I Don't Remember Any Hill
Virtualized Server 2k3 Ent X86 Guest on VMWare ESXi 4.1 with 3 SunRay thin clients as access points - HSPro 2.4.0.48 - ZTroller - ACRF2 (3 WGL 800's) - iAutomate RFID - Ledam - MLHSPlugin - Ultra1wire - RainRelay8 - TI103 - Ultramon - WAF-AB8SS - jvESS (11 zones) - Bitwise Controls BC4 - with 745 Total Devices - 550 Events - 104 scripts - 78 ZWave devices - 42 X10 devices - 76 DS10a's 3 RFXSenors and 32 Motion Sensors
Comment
-
Originally posted by nightwalker View PostYou missed the little smiley face at the end denoting humor.Hector
____________________________________
Win.2003 OS, HS3
BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
MyTrigger,ACRF2,W800,Zwave
AP800,Honeywell Stat
Comment
Comment