China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-26 11:22
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Question: how do I write this program View 757 Replies 2
Original Poster Posted 2003-08-04 00:00 ·  中国 山东 青岛 联通
初级用户
Credits 134
Posts 8
Joined 2003-07-27 00:00
22-year member
UID 7620
Gender Male
Status Offline
Could one of you experts tell me how to use a batch file to write a program that makes the system pop up a message box with some content at a specified time?
Thanks!
Floor 2 Posted 2003-08-05 00:00 ·  中国 河南 郑州 电信
初级用户
Credits 205
Posts 19
Joined 2003-06-06 00:00
23-year member
UID 3959
Gender Male
Status Offline
I can only think of one way: first write a batch file that calls the Messenger service under Windows. In fact it's only one line:
net send 127.0.0.1 "the content you want to be shown"
The prerequisite is that the Messenger service is running.
Then use the at command to have it call this batch file at the specified time.
Floor 3 Posted 2003-08-07 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
22-year member
UID 7953
Gender Male
Status Offline
You can use DOSMSG
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Forum Jump: