中国DOS联盟论坛

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-10 10:00
47,811 topics / 349,897 posts / today 0 new / 48,255 members
DOS批处理 & 脚本技术(批处理室) » How to make the bat stop running over time!
Printable Version  2,575 / 17
Floor1 mbllokmb Posted 2008-10-16 16:46
初级用户 Posts 39 Credits 78
How to make the bat stop running with time! Permanently freeze the time at a set time and prevent the time from being changed!!
Also, how to make the system pop up a prompt box and display specified content!?
Floor2 5872169 Posted 2008-10-16 17:39
高级用户 Posts 474 Credits 959
How to make the bat stop running with time! Make the time permanently fixed at a set time and not allow the time to be changed! What do you mean by this sentence? Also, how to make the system pop up a prompt box and display the specified content!? Use VBS to do it, BAT cannot be implemented
Floor3 mbllokmb Posted 2008-10-16 17:44
初级用户 Posts 39 Credits 78
How to specifically do VBS? Can you give an example?

Do not allow changing the time. For example, I want that my computer to always be 2008 - 07 - 07. The time is 8:50. Freeze at this. The time does not go down. Whenever boot up is this time
Floor4 dikex Posted 2008-10-16 17:57
高级用户 Posts 366 Credits 788
1. It's impossible to stop time. Time is directly based on the mainboard, having nothing to do with the operating system, etc. Unless you remove the mainboard battery after powering off, but when you reinstall the battery and boot up, the time will be the factory setting.

2. Use this for batch processing:
msg "%username%" "Hello"

[ Last edited by dikex on 2008-10-16 at 17:58 ]
Floor5 mbllokmb Posted 2008-10-16 18:01
初级用户 Posts 39 Credits 78
msg "%username%" "Hello" This will show who sent you the message. Can you hide the sender's ID? Then is there such a thing as monitoring the time? As long as the time changes, change the time back to the original set time. This is just my assumption!
Floor6 mbllokmb Posted 2008-10-19 08:43
初级用户 Posts 39 Credits 78
Can someone help me?
Floor7 HAT Posted 2008-10-19 11:37
版主 Posts 5,017 Credits 9,023
No. Because batch processing is not for this.
Floor8 tlj273842736 Posted 2008-10-20 00:54
新手上路 Posts 7 Credits 9
date 2008-07-07&time 08:05
%0

First post from a newbie :)
Floor9 agile Posted 2008-10-22 17:31
新手上路 Posts 11 Credits 12
Unless you run a batch file every time you boot up, and set the time in the batch file to this~.~
Floor10 liumangshiwo Posted 2008-10-22 17:37
新手上路 Posts 13 Credits 19
If you start up in time and run it, you can only change the time, but not freeze it. Unless you run it once a minute
Floor11 yishanju Posted 2008-10-22 17:47
银牌会员 Posts 1,357 Credits 1,488
The key is that the original poster requires that the time not be modified.
Floor12 coolwei88 Posted 2008-11-10 01:26
新手上路 Posts 13 Credits 15
for /L %%F in (1,0,2) do time 16:05:00




16:05:00 You specifically modify it to your specified time
I'm a newbie and don't understand the meaning of the command. It can indeed stop the time, but the CPU...
Floor13 77720666 Posted 2008-11-10 03:42
初级用户 Posts 46 Credits 59
It's根本 impossible to stop the passage of time~ If you keep setting the time to a specified one~ Then heh heh~ CPU... Is it worth it?
Floor14 77720666 Posted 2008-11-10 03:45
初级用户 Posts 46 Credits 59
Prompt can use VBS

Echo MsgBox "Hello">1.vbs&start 1.vbs
Floor15 coolwei88 Posted 2008-11-12 11:42
新手上路 Posts 13 Credits 15
for /L %%F in (1,0,2) do time 16:05:00

Have you tried this?
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023