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-07 01:52
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Copy names in a directory View 676 Replies 3
Original Poster Posted 2007-10-25 12:24 ·  中国 安徽 铜陵 电信
初级用户
Credits 20
Posts 8
Joined 2007-07-31 05:23
19-year member
UID 94342
Gender Male
Status Offline
I want to copy all the song names in my '音乐' folder and output them to a text file.
DIR 音乐\*.* >音乐保存.txt
But the text generated by this command has a lot of useless information, file sizes and dates too.
I only want the file names.

Can someone help me write it out
Floor 2 Posted 2007-10-25 12:53 ·  中国 广东 广州 天河区 电信
高级用户
★★★
潜水修练批处理
Credits 788
Posts 366
Joined 2006-12-31 02:43
19-year member
UID 75048
Gender Male
Status Offline
dir /?
Take a look yourself
正在潜水修练的批处理小白
Floor 3 Posted 2007-10-25 14:30 ·  中国 上海 联通
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Floor 4 Posted 2007-12-24 14:13 ·  中国 河南 郑州 联通
初级用户
Credits 51
Posts 25
Joined 2007-12-22 13:27
18-year member
UID 106458
Gender Male
From 河南
Status Offline
Forum Jump: