Monthly Archives: October 2011

Change attributes of all folders/files in dos


Few days ago, I connected my Android mobile to my friend’s PC. My phone’s memory card was infected by folder.exe virus.

This is a simple warm. It just make all your directory as system director and also make it hidden. Then it creates exe file for each directory with directory icon. This is why when you open any folder, it opens in new window (if you are using Microsoft windows as operating system).

So, I just First I deleted all those exe files and deleted recycled directory as well. This should remove your folder.exe virus. But still you need remove the effect of virus. You need to update back the folder attributes.

You can do it by single line command:

F:/>attrib -s -h /s /d