4

We have to insert our pendrive (flash drive) at cyber cafes or other public places. So, it is almost impossible for us to ensure that systems we plug into are malware-free. As a result, we experience a recurring problem of our pendrives becoming infected.

One type of malware that has been a problem is a shortcut virus, which renders all my pendrive folders hidden. When I view the drive contents, I see nothing except a shortcut file. But my folders appear when I search.

How to solve this?

fixer1234
  • 28,064

1 Answers1

5

Press Win + R, type cmdin "Open:" field. Then click "OK" or enter. This would bring you to the command line terminal.

Then type the following command replacing X with the drive letter of your flash drive/pendrive and then enter:

attrib -h -r -s /s /d X:\*.*

If you eager to see more about this command see this documentation from microsoft.