![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 01:40 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » How to automatically shut down in multiple time periods with batch processing? |
| Printable Version 3,568 / 20 |
| Floor16 lotus516 | Posted 2009-02-08 18:18 |
| 高级用户 Posts 246 Credits 551 | |
|
set sj=%time:~0,2%%time:~3,2%
if %sj%>1145 (if %sj%<1245 shutdown -s -t 10) |
|
| Floor17 shawell518 | Posted 2009-03-14 21:13 |
| 中级用户 Posts 97 Credits 310 | |
Originally posted by lotus516 at 2009-2-8 06:18 PM: Hehe Not tried Learned Three time periods |
|
| Floor18 shawell518 | Posted 2009-03-14 21:24 |
| 中级用户 Posts 97 Credits 310 | |
Originally posted by jmzhwf at 2009-2-7 03:39 PM: Tried it Can't run |
|
| Floor19 slcqdcn | Posted 2009-08-25 08:39 |
| 新手上路 Posts 1 Credits 1 | |
|
At most, wait, wait, wait, wait, wait
|
|
| Floor20 wqbzyyer | Posted 2010-07-22 20:03 |
| 新手上路 Posts 3 Credits 3 | |
|
I also want to achieve this function
|
|
| Floor21 netbenton | Posted 2010-07-23 12:42 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
This is what I used before, precise to the hour.
**It will automatically shut down when powered on within the restricted time. **Warn once 5 minutes before shutting down. **Run once to enable [ Last edited by netbenton on 2010-7-25 at 16:54 ] |
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |