Link to home
Start Free TrialLog in
Avatar of lorlai77
lorlai77

asked on

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.
Avatar of pjbcba
pjbcba

dir /ash

That's it.... ;-)

Do you need anything more?
ASKER CERTIFIED SOLUTION
Avatar of oldgreyguy
oldgreyguy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lorlai77

ASKER

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