中国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-02 01:36
48,037 topics / 350,122 posts / today 2 new / 48,250 members
DOS批处理 & 脚本技术(批处理室) » Can this be done so an IP address is entered in a window?
Printable Version  1,116 / 4
Floor1 lizhenduo Posted 2006-06-30 17:25
初级用户 Posts 29 Credits 190
How can this be done in a batch file:
1 show a window saying "Please enter this machine's IP address", then enter xxxx.xxxx.xxxx.xxxx
2 after entering the IP address, it then shows "Please enter the gateway IP address", ....
3 continue executing the batch commands
Thanks everyone
I'm using msdos7.1

[ Last edited by lizhenduo on 2006-6-30 at 17:31 ]
Floor2 kcdsw Posted 2006-06-30 19:56
中级用户 Posts 179 Credits 404
Hehe, in XP you can use set /p
as for DOS I don't know no environment
Floor3 molicn Posted 2006-06-30 21:58
初级用户 Posts 44 Credits 134
Floor4 bagpipe Posted 2006-07-01 11:20
银牌会员 Posts 425 Credits 1,144 From 北京
Look carefully at the post above, it's an msdos7.1 environment......................
Floor5 lizhenduo Posted 2006-08-10 10:44
初级用户 Posts 29 Credits 190
Thanks, everyone.
How can I use RANDOM.COM to achieve this? Could you explain it in more detail?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023