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-28 23:39
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Help] Can win-DOS call Windows dialog boxes View 565 Replies 2
Original Poster Posted 2005-04-14 00:00 ·  中国 湖北 武汉 电信
初级用户
ProGamer
Credits 129
Posts 23
Joined 2005-04-14 00:00
21-year member
UID 38147
Gender Male
Status Offline
Like in some languages,
MessageBox(string message)
Alarm(string message)
that kind of thing, popping up a Windows dialog box to display a prompt message
I'm a progamer who work with windos
not a programmer with windows
Floor 2 Posted 2005-04-14 00:00 ·  中国 山西 临汾 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re foxandmonkey: You can dynamically create VBS and JS scripts in a batch file to call the corresponding objects and methods, and then just use the statement below to invoke them. For specifics, you can check Windows Help. However, this already loses the purity of batch files, and I haven’t studied it in depth. You can look up materials related to scripting. Also, Wbat supports a quasi-MessageBox on the command line; you can look into that too. cscript
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 3 Posted 2005-04-14 00:00 ·  中国 湖北 武汉 电信
初级用户
ProGamer
Credits 129
Posts 23
Joined 2005-04-14 00:00
21-year member
UID 38147
Gender Male
Status Offline
It doesn’t need to be that complicated, really. It’s just to give the user a popup prompt window. Maybe XP already has a program like that which can be called directly. For example, you can use shutdown -s -t 888 -c"Batch task completed" to display the message "Batch task completed", though this isn’t really a practical example.
I'm a progamer who work with windos
not a programmer with windows
Forum Jump: