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.
lorlai77Asked:
Who is Participating?
 
pjbcbaCommented:
dir /ash

That's it.... ;-)

Do you need anything more?
0
 
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
0
 
oldgreyguyCommented:
you are welcome
0
All Courses

From novice to tech pro — start learning today.