I had a virus or something on my computer that set the attributes for all the folders in the root of my external drive to system and hidden, and created shortcuts to them. I am now trying to remove these attributes all at once with the following command, but it doesn't do anything:
dir /ash /b | attrib -h -s
According to my understanding of the documentation of these commands, this should work. Is there something wrong here?