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-12 19:43
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Help] A small question about DIR View 717 Replies 2
Original Poster Posted 2003-07-17 00:00 ·  中国 上海 静安区 电信
初级用户
Credits 120
Posts 6
Joined 2003-07-16 00:00
23-year member
UID 6974
Gender Female
Status Offline
Display the directory information for all hidden files with the extension TXT on drive C (not including lower-level subdirectories), including the date and other information, but not including attributes.
The answer is: DIR C:\*.TXT /A-DH
But what I find strange is that the attributes only include hidden, system, archive, and read-only.
So why are subdirectory D and non-directory -D also included in the attributes???
Could it be that DIR C:\*.TXT /AH is wrong???
Floor 2 Posted 2003-07-17 00:00 ·  中国 吉林 长春 联通
初级用户
Credits 224
Posts 38
Joined 2003-07-16 00:00
23-year member
UID 6989
Gender Male
Status Offline
I didn't understand what that means!
Floor 3 Posted 2003-07-17 00:00 ·  中国 吉林 长春 联通
初级用户
Credits 224
Posts 38
Joined 2003-07-16 00:00
23-year member
UID 6989
Gender Male
Status Offline
As I see it, this command displays all TXT files under drive C (including hidden files), but I still don't understand what the -DH after it means! I'll take another look.
Forum Jump: