What are some Basic and/or Creative Events created with this plugin?
Would appreciate your thoughts
Would appreciate your thoughts
If this is your first visit, be sure to check out the FAQ. You must register before you can post.
IMPORTANT: Your first post will be checked for appropriate content. This may take a bit of time.
:doshutdown rem rem If you want to try to power down your UPS, uncomment rem out the following lines, but be warned that if the rem following shutdown -h now doesn't work, you may find rem the power being shut off to a running computer :-( rem Also note, we do this in the doshutdown case, because rem there is no way to get control when the machine is rem shutdown to call this script with --killpower. As rem a consequence, we do both killpower and shutdown rem here. rem Note that Win32 lacks a portable way to delay for a rem given time, so we use the trick of pinging a rem non-existent IP address with a given timeout. rem rem %APCUPSD% /kill rem ping -n 1 -w 5000 10.255.255.254 > NUL rem %POPUP% "Doing %APCUPSD% --killpower" rem %APCUPSD% --killpower rem ping -n 1 -w 12000 10.255.255.254 > NUL rem %SHUTDOWN% -h now <<<<<--------- comment this line GOTO :done
Comment