中国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-17 07:41
47,813 topics / 349,903 posts / today 0 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » [Help] Can win-DOS call Windows dialog boxes
Printable Version  614 / 2
Floor1 foxandmonkey Posted 2005-04-14 00:00
初级用户 Posts 23 Credits 129
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
Floor2 willsort Posted 2005-04-14 00:00
元老会员 Posts 1,512 Credits 4,432
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
Floor3 foxandmonkey Posted 2005-04-14 00:00
初级用户 Posts 23 Credits 129
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.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023