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-27 01:47
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Use DOS or a script to list filenames of a specified file type in a directory View 529 Replies 3
Original Poster Posted 2004-01-05 00:00 ·  中国 河南 郑州 联通
初级用户
Credits 108
Posts 2
Joined 2004-01-05 00:00
22-year member
UID 14980
Gender Male
Status Offline
: Use DOS or a script to list filenames of a specified file type in a directory, and save that list of names to a TXT file
Floor 2 Posted 2004-01-07 00:00 ·  中国 天津 教育网
高级用户
★★
Credits 924
Posts 243
Joined 2003-07-09 00:00
22-year member
UID 6612
Gender Male
Status Offline
dir *.xxx /w >test.txt
Will this work?
Floor 3 Posted 2004-01-09 00:00 ·  中国 广东 汕头 电信
初级用户
老大不小
Credits 270
Posts 37
Joined 2003-12-31 00:00
22-year member
UID 14687
Gender Male
Status Offline
I suggest using
dir /s *.xxx >>xxx.txt
C:\>给我$100,0000
Bad command or file name
Floor 4 Posted 2004-01-10 00:00 ·  中国 河南 郑州 联通
初级用户
Credits 108
Posts 2
Joined 2004-01-05 00:00
22-year member
UID 14980
Gender Male
Status Offline
Thanks everyone


Forum Jump: