1. Open Notepad.
2. Copy and paste the exact code given below:-
3. Click on the File Menu. Click on Save As.4. Select All Types in the Save As Type Drop Down menu. Save the file as anyname.bat or pankaj.bat.
After creating the file, double click on the Saved file. A new folder will be created. Enter your data in the folder. Again, double click on the batch file. Type Y and press Enter. The folder will be hidden from view.
To re-view your folder, double click on the saved batch file.
Enter password as "techhub" without quotes and press Enter key. This is also the default password. Your folder will be visible again.
To change the default password, edit the part of the code given in blue and enter your own password.
The overall usability of this trick can be improved by deleting the batch file after hiding your folder and re-creating it when you wish to access your folder again.
To re-view your folder, double click on the saved batch file.
Enter password as "techhub" without quotes and press Enter key. This is also the default password. Your folder will be visible again.
To change the default password, edit the part of the code given in blue and enter your own password.
The overall usability of this trick can be improved by deleting the batch file after hiding your folder and re-creating it when you wish to access your folder again.
Note: This works on Windows 10, Windows 8.1, Windows 8, windows 7, Windows XP and Vista. First try this on useless data to be sure and then only hide your personal data.