Q&A from the article:

Show Hidden Files Using Command Prompt

Edited by Anonymous, dorie, Eng, VisiHow and 2 others

Questions and Answers

Files hidden by virus in my flash drive?

I tried cmd method but my cmd is saying that attrib is not recognized as a valid command .

Ad

This can happen when your attrib.exe file has been deleted or the environment variable is missing. You can use a method or two to solve this.

Method 1.

  1. 1
    Press the Windows key and "E".
    Was this step helpful? Yes | No | I need help

  2. 2
    Right-click "My Computer" or "This PC".
    Was this step helpful? Yes | No | I need help

  3. 3
    Click "Properties".
    Was this step helpful? Yes | No | I need help

  4. 4
    Click "Advanced system settings".
    Was this step helpful? Yes | No | I need help

  5. 5
    Click "Environment Variables..."
    Was this step helpful? Yes | No | I need help

  6. 6
    Under "System variables", scroll to "Path" and click it.
    Was this step helpful? Yes | No | I need help

  7. 7
    Click "Edit..".
    Was this step helpful? Yes | No | I need help

  8. 8
    Type "C:\Windows\System32;" at the end of the string without any spaces before and after it.
    Do not erase anything else in the line.
    Was this step helpful? Yes | No | I need help

  9. 9
    Click "OK" thrice.
    Was this step helpful? Yes | No | I need help

Method 2.

  1. 1
    Click the Windows logotype button in the bottom-left corner.
    Was this step helpful? Yes | No | I need help

  2. 2
    Type "folder options".
    Was this step helpful? Yes | No | I need help

  3. 3
    Click the "View" tab,
    Was this step helpful? Yes | No | I need help

  4. 4
    Click "Show hidden files, folders or drives".
    Was this step helpful? Yes | No | I need help

  5. 5
    Uncheck "Hide protected operating system files".
    Was this step helpful? Yes | No | I need help

  6. 6
    Click "OK".
    Was this step helpful? Yes | No | I need help

  7. 7
    You might be able, unless your system is infected, to see the files on your drive.
    Was this step helpful? Yes | No | I need help

Method 3.

  1. 1
    Find "attrib.exe" online for your operating system (Windows 7, Windows XP, Windows 10, etc.) by typing "download attrib.exe Windows 7", for instance.
    Was this step helpful? Yes | No | I need help

  2. 2
    Test the file for viruses.
    Was this step helpful? Yes | No | I need help

  3. 3
    Copy it to your Windows "System32" directory.
    If the file is already there, then use other methods above.
    Was this step helpful? Yes | No | I need help

Now, you can use the tutorial!

See more questions like this: My flash drive has hidden files and I am unable to access my files as they are hidden?

How can I view hidden files on my flash drive that have been formatted by an antivirus?

My flash drive is showing me that it has no space, yet it can't display an item. It happened after my antivirus scanned and formatted infected files. What can I do

Advertisement

VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

See more questions like this: How to view and remove the hidden files on my flash drives?

All my files in flash become hidden & flash drive showing 0 bytes used while it exists when I copy flash to desktop, what shall I do to show them?

My files are infected by something on flash drive after updating some of them, when I copy flash drive to desktop, I find some my files copied during this transfer but doesn't appear. I have tried: I go to control panel, I select folder option & click show all hidden files ,but this step shows all hidden files on the computer except folder content which is copied from flash drive

Was this helpful? Yes | No | I need help

Advertisement

VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

My C drive says it has used up a lot of memory but I can't find any files and it says its hidden but I have tried with show hidden files and only empty folders appear?

I can't find the hidden folders on my C drive. I have tried: I have tried show hidden files in folder options, in control panel. I think it was caused by: I don't know its an old PC from work

VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

The above questions are from the following wiki...
Show Hidden Files Using Command Prompt

More questions and answers

My boss flash drive has a problem, which is files are being hidden?

My boss flash drive has a problem, which is his files are being hidden. I thought its just an ordinary problem setting, maybe his flash got a virus somewhere.

VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

How can I recover my files in flash drive that was still hidden even if I already used the command prompt?

My files are still hidden even if I already used your process of recovering a file. And sir, there is a recycle bin that shows up but my file wasn't there. It is still lost.

VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

See more questions like this: How can I recover all the lost, deleted and hidden files in my flash drive?

See more questions like this: Commands to show and recover hidden files from flash drive that is infected?

How can I retrieve hidden files from ADATA UV128/8GB Flash drive?

I have some data in my flash drive, when I open the flash drive in my computer, nothing shown, but my flash drive have some space occupied... I have tried: I scan my flash drive with AVG Anti-virus.. I think it was caused by: I think its the virus affecting it.

Was this helpful? Yes | No | I need help

VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

Comments

VisiHow welcomes all comments. If you do not want to be anonymous, register or log in. It is free.




Daniel
Featured Author
69 Articles Started
2,601 Article Edits
24,290 Points
Daniel is a featured author with VisiHow. Daniel has achieved the level of "Lieutenant" with 24,290 points. Daniel has started 69 articles (including this one) and has also made 2,601 article edits. 17,578 people have read Daniel's article contributions.
Daniel's Message Board
Daniel: Hi, my name is Daniel.
Daniel: Can I help you with your problem about "Files hidden by virus in my flash drive"?
 

Article Info

Categories : Windows

Recent edits by: beginner, VisiHow, Eng

Share this Article:

Thanks to all authors for creating a page that has been read 144 times.

Do you have a question not answered in this article?
Click here to ask one of the writers of this article
x

Thank Our Volunteer Authors.

Would you like to give back to the community by fixing a spelling mistake? Yes | No