Friday, December 23, 2011

Tutorial: How to Restore All Hidden Files Or Folders Using Batch File?

by eturo

Sawa ka na ba sa mga virus na nakakapasok sa iyong computer or laptop at ginagawang HIDDEN ang mga FOLDERS and FILES mo? Puwes heto na ang tama at step-by-step solutions para diyan at sa ilang saglit lang, magagawa mo nang i-RESTORE and mga hidden files mo.

Pero wait, ano nga ba ang tinatawag nilang COMPUTER VIRUS?

According to http://www.webopedia.com/TERM/V/virus.html, a VIRUS is a program or piece of code that is loaded onto your computer without your knowledge and runs against your wishes. Viruses can also replicate themselves. All computer viruses are man-made. A simple virus that can make a copy of itself over and over again is relatively easy to produce. Even such a simple virus is dangerous because it will quickly use all available memory and bring the system to a halt. An even more dangerous type of virus is one capable of transmitting itself across networks and bypassing security systems.


PROBLEM
Some virus will infect your files and folders and make them hidden.


BASIC SOLUTION?

Restoring using folder option is not a good choice since virus disabled the hidden option:

 

BEST SOLUTION:  

DO THE DOS Style

1. Click START button >> select RUN >> Type "cmd" or "command" then the command prompt will appear just like the image below. (Hint: Press WINDOW + R, shorcut key to activate RUN dialog box)

2. Go to the drive or directory where your hidden folder are by using the correct DOS command. (e.g. Assumed that the hidden folders shown above is in drive D:\)

3. After tracking down the right path of your hidden folders/files, enter the following command attributes (see image below)


Using attrib command ...
[drive letter] attrib -s -h "name of file or folder" - for single file or folder
[drive letter] attrib -s -h /S /D - applies to all including sub folder or files
 

CREATING THE BATCH FILE

1. Open notepad or notepad++ if you are using:
2. Then type the following:


3. Save as ex. restore.bat (filename) in the same folder together with hidden files or folder (to be converted). Save as type: All files (will not convert our file to text file).


4. Run the batch file by double clicking it and wait for the batch file process. The process will take longer for more files and folders to be converted. This batch file will covert all files or folders located in the same directory.


And finally, you're done. That's it! Congratulations!

Like Us on Facebook

Related Posts Plugin for WordPress, Blogger...