attrib command

I am currently taking classes on DOS and am having problems figuring out what the correct command would be to view attributes.  What exactly I need is a directory listing that displays ONLY files that have both the hidden and the system attributes set.  I am able to pull up all of them with the attrib *.* command and able to change the attributes. I just can't seem to figure out how to display only the files that have both H and S attributes set.
Who is Participating?
dir /ash

That's it.... ;-)

Do you need anything more?
lorlai77Author Commented:
this answer will also help me with my next DOS excercise. The sites are excellent and are a wealth of information. thankyou. lorlai77
you are welcome
All Courses

From novice to tech pro — start learning today.