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-13 23:03
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Ask: How to display hidden files in DOS? View 1,480 Replies 9
Original Poster Posted 2004-07-24 00:00 ·  中国 广东 惠州 电信
中级用户
Credits 204
Posts 31
Joined 2004-02-20 00:00
22-year member
UID 18008
Gender Male
Status Offline
Please ask experts for more advice. I've read some introductory materials about DOS, but I just can't find the command to display hidden files under DOS. If you know, please tell me. Thank you!
Floor 2 Posted 2004-07-24 00:00 ·  中国 广东 惠州 电信
中级用户
Credits 204
Posts 31
Joined 2004-02-20 00:00
22-year member
UID 18008
Gender Male
Status Offline
I'm waiting online for some expert to teach me!!!
Floor 3 Posted 2004-07-24 00:00 ·  中国 福建 厦门 电信
系统支持
★★★
Credits 904
Posts 339
Joined 2002-10-10 00:00
23-year member
UID 1904
From 厦门
Status Offline
dir /ah
You can see for yourself, method: dir /?
Floor 4 Posted 2004-07-24 00:00 ·  中国 广东 惠州 电信
中级用户
Credits 204
Posts 31
Joined 2004-02-20 00:00
22-year member
UID 18008
Gender Male
Status Offline
It has been copied down. Does "dir/ah" can display all hidden files? Also, is this "?" referring to the file name I want to display: such as "dir/abc.mp3"? Thanks for your advice.
Floor 5 Posted 2004-07-24 00:00 ·  中国 山东 济宁 兖州区 联通
钻石会员
★★★★★
Credits 10,056
Posts 3,041
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
dir /? is to seek help from the system. dir abc.mp3 is the correct format.
简单就是美
Floor 6 Posted 2004-07-24 00:00 ·  中国 广东 广州 白云区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
Sometimes, dir /ah may not display all hidden files. This command may not be effective for files with system or read-only attributes. You can try dir /as or dir/ar, maybe you can find the file you want. Also, there is another trick: dir /a can display all files regardless of their attributes, whether they are hidden or have system attributes!!!
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 7 Posted 2004-07-24 00:00 ·  中国 上海 鹏博士宽带
初级用户
Credits 143
Posts 10
Joined 2004-05-21 00:00
22-year member
UID 24953
Gender Male
Status Offline
DIR attributes]]
sortorder]]
Specifies drive, directory, and/or files to list.
(Could be enhanced file specification or multiple filespecs.)
/P Pauses after each screenful of information.
/W Uses wide list format.
/A Displays files with specified attributes.
attributes D Directories R Read-only files
H Hidden files A Files ready for archiving
S System files - Prefix meaning not
/O List by files in sorted order。
sortorder N By name (alphabetic) S By size (smallest first)
E By extension (alphabetic) D By date & time (earliest first)
G Group directories first - Prefix to reverse order
A By Last Access Date (earliest first)
/S Displays files在指定目录及其所有子目录中。
/B Uses bare format (no heading information or summary).
/L Uses lowercase.
/V Verbose mode.
/4 Displays year with 4 digits (ignored if /V also given).

(Note: There are some minor formatting and translation adjustments here to make it more accurate and fluent while keeping the original technical content intact. The key is to ensure that the technical terms and command descriptions are accurately conveyed in English.)
Floor 8 Posted 2004-07-25 00:00 ·  中国 北京 联通
初级用户
Credits 121
Posts 7
Joined 2004-07-24 00:00
22-year member
UID 28935
Gender Male
Status Offline
Zheng
Floor 9 Posted 2004-07-28 00:00 ·  中国 广东 东莞 电信
初级用户
Credits 108
Posts 4
Joined 2004-07-28 00:00
22-year member
UID 29133
Gender Male
Status Offline
Bump
Floor 10 Posted 2004-07-30 00:00 ·  中国 福建 泉州 电信
初级用户
Credits 109
Posts 4
Joined 2004-07-30 00:00
22-year member
UID 29329
Gender Male
Status Offline
I know nothing about DOS~~~! What should I do~~~! Big brothers and sisters, everyone
Forum Jump: