![]() |
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-11 20:46 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » Batch processing timing program (without task scheduler) |
| Printable Version 1,654 / 11 |
| Floor1 zxxhwlkj | Posted 2009-05-07 04:21 |
| 初级用户 Posts 18 Credits 21 | |
|
Can batch processing write timing programs? Not the kind of scheduled tasks, etc. Just use batch processing commands to complete.
Looking forward to experts... |
|
| Floor2 yishanju | Posted 2009-05-07 15:23 |
| 银牌会员 Posts 1,357 Credits 1,488 | |
|
What you mentioned about the timing program, others simply don't know. Please explain its uses and functions, etc.
[ Last edited by yishanju on 2009-5-7 at 15:28 ] |
|
| Floor3 HAT | Posted 2009-05-07 23:14 |
| 版主 Posts 5,017 Credits 9,023 | |
| Floor4 zxxhwlkj | Posted 2009-05-09 10:58 |
| 初级用户 Posts 18 Credits 21 | |
|
Moderator, do you have any tips, please teach me?
|
|
| Floor5 zxxhwlkj | Posted 2009-05-09 11:00 |
| 初级用户 Posts 18 Credits 21 | |
|
Second floor: The timing program I mentioned has two functions. One is that a specified program runs once every hour after each boot. The second is that for a computer that is not turned on or off for 24 hours, a specified program runs at 9 am every day.
|
|
| Floor6 HAT | Posted 2009-05-09 11:39 |
| 版主 Posts 5,017 Credits 9,023 | |
|
Why didn't you make it clear on the top floor?
|
|
| Floor7 yishanju | Posted 2009-05-09 22:24 |
| 银牌会员 Posts 1,357 Credits 1,488 | |
|
It is completely appropriate to set up a task plan to achieve it. If not, it's too unjust. There are also other methods.
1, Throw the batch file into the startup items, and write the code like this: ping -n 3600 127.1>nul start 程序.exe 2, The batch file always keeps running, continuously checking whether %time% is equal to 9:00 in the morning. [ Last edited by yishanju on 2009-5-9 at 22:31 ] |
|
| Floor8 netbenton | Posted 2009-05-10 01:49 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
re Above:
Who would dare to use a computer where the CPU is always at 100% like that?! re Poster: Why not use a scheduled task? Are you afraid others will find out? If you use a third-party tool, you'll also see it in the process. If you want it not to be seen in the process, that's definitely a sophisticated virus technique. If that's the case, you'd better figure it out yourself, poster. |
|
| Floor9 yishanju | Posted 2009-05-10 20:03 |
| 银牌会员 Posts 1,357 Credits 1,488 | |
|
How is it possible to make the CPU always be at 100%.
|
|
| Floor10 netbenton | Posted 2009-05-10 21:05 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
Tried it, really don't know.
It turns out that the ping latency is different from other commands, learned |
|
| Floor11 zxxhwlkj | Posted 2009-05-11 05:53 |
| 初级用户 Posts 18 Credits 21 | |
|
Great experts, I'm sorry. Is there any completed one for me to refer to? I've just started learning.
|
|
| Floor12 wishpopo | Posted 2009-05-11 12:06 |
| 新手上路 Posts 20 Credits 18 | |
|
Just give a general idea. Just like yishanju said, put it in the startup items. I wrote this according to the mode of running for no more than two days. Change "echo start frist" to the program that needs to run the first time, and change "echo start second" to the program that needs to run the second time.
Personally, I think you'd better use vbs to achieve the effect you want, because that's better, at least the window can be hidden. [ Last edited by wishpopo on 2009-5-12 at 10:15 ] |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |