Applied for the advanced user only. Tested on Windows 7.
This is the instruction is to make the hidden folder inaccessible by average user.
1. Create a bat file, using Notepad or any text editor application.
2. Copy and paste the following code:
cls @ECHO OFF title Folder Private if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Private goto MDLOCKER :CONFIRM echo Are you sure you want to lock the folder(Y/N) set/p "cho=>" if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto UNLOCK if %cho%==N goto UNLOCK echo Invalid choice. goto CONFIRM :LOCK ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked goto END :UNLOCK echo Enter password to unlock folder set/p "pass=>" if NOT %pass%== YOURPASSWORD goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private echo Folder Unlocked successfully goto END :FAIL echo Invalid password goto END :MDLOCKER md Private echo Private created successfully goto END :END |
3. Replace your own password on YOURPASSWORD in this line:
if NOT %pass%== YOURPASSWORD goto FAILThe Private folder can be rename anything you want but replacing any words Private that you can see
from the above codes.
4. Save as All files. But the name file should be added .bat. For example, anythingyoulike.bat
5. Click on the anythingyoulike.bat file, there will be a folder named Private created.
6. Put any stuffs you want to hide in that Private folder.
7. To hide/lock the private folder, double click again on the anythingyoulike.bat
8. To unhide/unlock the Private folder, double click on the anythingyoulike.bat
type password. then the Private folder would be appear.
Attention: The password would be easily accessed by open the anythingyoulike.bat with Notepad or any text editor application.
PLEASE NOTE THAT: The command text was founded by myself on the internet on 2/7/2011.
Examined and succeed on 3/7/2011.
There was small problem with the code. I mean the text was unable to work properly. but I managed to fix them.
P.S: The normal user that doesn't have basic coding skill maybe kind of hardly to access those your hidden stuffs.
No comments