中国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-12 21:15
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » [Help] A small question about DIR
Printable Version  718 / 2
Floor1 hpqq Posted 2003-07-17 00:00
初级用户 Posts 6 Credits 120
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???
Floor2 ztcmfk Posted 2003-07-17 00:00
初级用户 Posts 38 Credits 224
I didn't understand what that means!
Floor3 ztcmfk Posted 2003-07-17 00:00
初级用户 Posts 38 Credits 224
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.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023