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-09 17:00
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Need a batch file! Search text file contents! View 776 Replies 1
Original Poster Posted 2008-09-03 15:07 ·  中国 山东 临沂 兰山区 联通
中级用户
★★
Credits 208
Posts 97
Joined 2006-12-28 22:08
19-year member
UID 74845
Gender Male
Status Offline
First search the text file name.txt. If it finds your own computer name in it, then continue executing the command below.
Otherwise, exit!
The content format of name.txt is as follows

t001
t002
t003
Floor 2 Posted 2008-09-03 15:56 ·  中国 山东 淄博 联通
银牌会员
★★★
Credits 1,604
Posts 646
Joined 2008-04-13 23:39
18-year member
UID 115804
Gender Male
Status Offline
心绪平和,眼藏静谧,无比安稳的火... Purification of soul...Just a false...^_^
Forum Jump: