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-08-02 00:33
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Can this be done so an IP address is entered in a window? View 1,114 Replies 4
Original Poster Posted 2006-06-30 17:25 ·  中国 北京 中国学术信息中心
初级用户
Credits 190
Posts 29
Joined 2003-06-24 00:00
23-year member
UID 5806
Gender Male
Status Offline
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 ]
Floor 2 Posted 2006-06-30 19:56 ·  中国 北京 鹏博士BGP
中级用户
★★
Credits 404
Posts 179
Joined 2006-03-30 14:44
20-year member
UID 53056
Status Offline
Hehe, in XP you can use set /p
as for DOS I don't know no environment
Floor 3 Posted 2006-06-30 21:58 ·  中国 广东 珠海 中移铁通
初级用户
Credits 134
Posts 44
Joined 2005-11-12 18:42
20-year member
UID 45131
Status Offline
Floor 4 Posted 2006-07-01 11:20 ·  中国 北京 联通
银牌会员
★★★
DOS联盟捡破烂的
Credits 1,144
Posts 425
Joined 2005-10-20 00:00
20-year member
UID 43784
From 北京
Status Offline
Look carefully at the post above, it's an msdos7.1 environment......................
Floor 5 Posted 2006-08-10 10:44 ·  中国 北京 中国学术信息中心
初级用户
Credits 190
Posts 29
Joined 2003-06-24 00:00
23-year member
UID 5806
Gender Male
Status Offline
Thanks, everyone.
How can I use RANDOM.COM to achieve this? Could you explain it in more detail?
Forum Jump: