Sunday 24 June 2018

ms dos - Can ms dos list all files and directory (including hidden ones)


I think there used to be a command called


dir -a

or something like that.


Now it's no longer there isn't it?


To see hidden file we need


dir /a:h

which will show only hidden files, which is not what I want.


So how to display all files, whether hidden or not?



Answer



Just list all attributes in /a. That'd be dir /a:drhsa on real DOS and a few more letters on Windows with NTFS, all listed under /a in help.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...