Making all hidden files unhidden

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

prgynt

Thread Starter
Joined
Dec 3, 2011
Messages
1
I recently got a virus (I got it professionally removed) that caused all my personal files (pictures, music, etc) to become hidden. I went into folder options to make it show hidden files. I can now go individually to each picture file and make it unhidden, but I have thousands of pictures. I tried going to the folder and doing "select all" to select all the pics in that folder, but when I go to properties the hidden box is grayed out. Is there anyway to make all hidden files unhidden without going through them one by one?
 

Ent

Josiah
Retired Trusted Advisor
Joined
Apr 11, 2009
Messages
5,467
I can make a batch file or similar script to do this for you.
To do so, and make it as easy for you as possible, I'd need a few more details about your situation.

I'm keen to avoid showing system files that are meant to be hidden. Can you verify that the virus has marked your files as hidden and not as hidden and system? This is the case if the "hidden" box is not greyed out when you look at properties for individual files.

Are the hidden files spread over a large number of folders and subfolders? If so I'll make the script search subfolders as well.
 

Ent

Josiah
Retired Trusted Advisor
Joined
Apr 11, 2009
Messages
5,467
Assuming that the answer to both questions is yes, here's a script that should do it for you.

Code:
@echo off
Echo This script will unhide all files in the current folder and all subfolders. 
Echo If there are a lot of files, it may take some time to complete.
Attrib -H /S /D
echo Unhide Complete
pause
Copy the contents of the Code box.
Open Notepad
Paste the code into notepad
Save as Unhide.bat in the folder holding your hidden files.
It is very important that the file ends with .bat
Double click the file to run it.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top