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-25 20:10
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Question about WBAT, experts please help! View 1,049 Replies 2
Original Poster Posted 2003-05-07 00:00 ·  美国 科罗拉多州 布鲁姆菲尔德 布卢姆菲尔德 Level3
初级用户
Credits 117
Posts 4
Joined 2003-05-07 00:00
23-year member
UID 1914
Gender Male
Status Offline
My file is written like this:

call w.bat box @text.bat:find

:find
Please enter your name?

name:


What next? When I run this file, it brings up a dialog box asking me to enter name. But after I fill in the name, I want to save what I entered into another text file. So how should I write this batch file?
Thanks!
Floor 2 Posted 2003-05-07 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Move it to DOS Learning for Beginners & Featured Articles (Classroom) under the batch file section...
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 3 Posted 2003-05-07 00:00 ·  美国 科罗拉多州 布鲁姆菲尔德 布卢姆菲尔德 Level3
初级用户
Credits 117
Posts 4
Joined 2003-05-07 00:00
23-year member
UID 1914
Gender Male
Status Offline
It's already been moved to DOS Learning for Beginners & Featured Articles (Classroom), under batch files.
Forum Jump: