How to use ATTRIB command to show hidden files or folders


Today will show you the use of  attrib command to unhide files or folders form USB pen-drive.
You may always have a problem that your precious data in the pen-drive may get hidden and instead it will show you the shortcut files. Yes, you are correct it may be due to the virus but it is not possible to install Antivirus in each and every computers especially when you are dealing with the multiple computers may be in the office or in the college/school.
Today I will show you how to unhide all the data from your pen-drive very quickly using attrib command
Follow the steps:
1. Click on “Start” –>Run or by using “window key + R”

window key + R

2. Type cmd and press Enter.
run-command
3. Here I assume your pendrive drive letter as G:
Enter this command: attrib -h -r -s /s /d g:\*.*
You can copy the above command –> Right-click in the Command Prompt and
paste it.
attrib-dos
Note : Replace the letter g with your pen drive letter.
4. Now check for your files.
Now each and every time you find any difficult with hidden files/folders just follow the steps I call it “master code”
You can also share with your friends.