How to open virus affected pen drive

Closed
renjith - Jan 16, 2017 at 09:57 AM
KY_WD Posts 2053 Registration date Thursday October 23, 2014 Status Member Last seen February 28, 2017   - Jan 16, 2017 at 10:59 AM
i can open my pen drive in pc , think its protected from virus but pen drive files are hiden how to take that. please help me
Related:

1 response

KY_WD Posts 2053 Registration date Thursday October 23, 2014 Status Member Last seen February 28, 2017   122
Jan 16, 2017 at 10:59 AM
Hello renjith,

You could try one of the following options:
1. Type dir /ah - this command will list all hidden files and hidden directories in the directory that you are currently in.
2. Type dir /ah-d
3. After that type dir /a and Enter

Also, you could try viewing hidden files with the attrib command. Typing the attrib command alone displays all files in the current directory with their attributes to the left of the directory path and file name. Files that have an "H" to the left are hidden files.

So here the options are:
1. attrib | more - if there are too many files to list on one page adding "| more" to the end of the attrib command displays all files with attributes one page at a time.
2. After that type attrib *.log
3. Finally, if you know the name of the file you're looking for or what it contains, adding it with or without wild characters displays all files with their attributes.
For example, the above command would list any log file /including hidden files/ with its attributes.

Hope that I helped.
0