中国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-16 08:40
47,813 topics / 349,903 posts / today 0 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » Use DOS or a script to list filenames of a specified file type in a directory
Printable Version  581 / 3
Floor1 snsj Posted 2004-01-05 00:00
初级用户 Posts 2 Credits 108
: 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
Floor2 aria Posted 2004-01-07 00:00
高级用户 Posts 243 Credits 924
dir *.xxx /w >test.txt
Will this work?
Floor3 哑巴 Posted 2004-01-09 00:00
初级用户 Posts 37 Credits 270
I suggest using
dir /s *.xxx >>xxx.txt
Floor4 snsj Posted 2004-01-10 00:00
初级用户 Posts 2 Credits 108
Thanks everyone


[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023