中国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-09-23 14:46
47,812 topics / 349,917 posts / today 0 new / 48,273 members
DOS批处理 & 脚本技术(批处理室) » Batch screen saver
Printable Version  2,986 / 11
Floor1 zcydez Posted 2010-06-06 16:47
初级用户 Posts 21 Credits 38 From 南昌
Adopts the most CPU-efficient way
The author's CPU usage only徘徊 between 0%-4% during use.



It seems no one is replying???
A bit cold

[ Last edited by zcydez on 2010-6-6 at 16:56 ]
Floor2 yiqingnan Posted 2010-06-06 19:48
初级用户 Posts 24 Credits 38
Thanks to the LZ for sharing.
I'll also post one.

@echo off
:begin
set /a a=%random%/3640&set /a b=%random%/3640
:1
set /a c=%random%/328
if %c% leq 13 goto 1
:2
set /a d=%random%/1092
if %d% leq 1 goto 2
title 哈哈!无穷变幻的窗口哦&color %a%%b%&mode con cols=%c% lines=%d%&ping/n 1 127.1>nul&cls&echo.&echo.&echo.&echo.&goto begin

Collected online by myself
Floor3 flyghost Posted 2010-06-06 23:12
新手上路 Posts 11 Credits 12
Can't run under win7 CMD
Floor4 bd123456789 Posted 2010-06-09 21:09
中级用户 Posts 216 Credits 360
Not bad, not bad. However, can it achieve the batch processing to turn off the monitor immediately to advocate low-carbon life??

[ Last edited by bd123456789 on 2010-6-10 at 06:52 ]
Floor5 HAT Posted 2010-06-10 15:16
版主 Posts 5,017 Credits 9,023
google search MonitorOff.exe
Floor6 zcydez Posted 2010-06-10 18:45
初级用户 Posts 21 Credits 38 From 南昌
What is the purpose of searching for MonitorOff.exe?
Floor7 smileoa Posted 2010-07-29 15:53
新手上路 Posts 1 Credits 1
It has no practical meaning. It would be great if it could respond to keyboard and mouse actions. For example, the screen saver automatically exits when you move the keyboard.
Floor8 defanive Posted 2010-07-29 16:21
初级用户 Posts 62 Credits 111

Basically achieves closing on key press...
I won't do full screen, Vista and Win7 can't go full screen, I can't test here...
Floor9 zcydez Posted 2010-08-13 13:40
初级用户 Posts 21 Credits 38 From 南昌
Thanks 5L
It turns out to be turning off the monitor
Floor10 9096 Posted 2010-10-29 16:16
初级用户 Posts 27 Credits 45 From 广东
Thank you for serving the public.
Floor11 517 Posted 2010-12-31 18:24
新手上路 Posts 10 Credits 13
Learning
Floor12 517 Posted 2010-12-31 18:24
新手上路 Posts 10 Credits 13
Post #2 is good.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023