中国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-13 23:46
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Ask: How to display hidden files in DOS?
Printable Version  1,482 / 9
Floor1 小学生 Posted 2004-07-24 00:00
中级用户 Posts 31 Credits 204
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!
Floor2 小学生 Posted 2004-07-24 00:00
中级用户 Posts 31 Credits 204
I'm waiting online for some expert to teach me!!!
Floor3 autoit Posted 2004-07-24 00:00
系统支持 Posts 339 Credits 904 From 厦门
dir /ah
You can see for yourself, method: dir /?
Floor4 小学生 Posted 2004-07-24 00:00
中级用户 Posts 31 Credits 204
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.
Floor5 Michael Posted 2004-07-24 00:00
钻石会员 Posts 3,041 Credits 10,056
dir /? is to seek help from the system. dir abc.mp3 is the correct format.
Floor6 JonePeng Posted 2004-07-24 00:00
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
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!!!
Floor7 sjackalxj Posted 2004-07-24 00:00
初级用户 Posts 10 Credits 143
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.)
Floor8 网络菜鸟 Posted 2004-07-25 00:00
初级用户 Posts 7 Credits 121
Zheng
Floor9 aotowang Posted 2004-07-28 00:00
初级用户 Posts 4 Credits 108
Bump
Floor10 zhuang_yan Posted 2004-07-30 00:00
初级用户 Posts 4 Credits 109
I know nothing about DOS~~~! What should I do~~~! Big brothers and sisters, everyone
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023