Recently I looked around on the internet on "How to create a secured folder for windows 7", but that only lead to programs and software, That you'll have to end up downloading and installing, and after 30 days are so, you'll have to end up buying the software\program for future use. So I spent some time recoding the "Windows XP Folder Lock Hack" and came out with "Windows 7 Folder Lock Hack With Backup". As i was coding the bat file I remember seeing on a certain site a comment saying, "please help me..after locking the folder and unlocking it, i cannot view the whole folder anymore..please..please..please…they are all important files!!!" so i added a backup solution.
Step 1
Open Notepad and type the below code into it.
Save the file to the desktop as All files Windows_7_Lock.bat
remember *.bat is a important role in making Windows_7_Lock.bat
cls @ECHO OFF title Windows 7 Private Folder if EXIST "H4x0r4Life" goto UNLOCK if NOT EXIST Personal goto MDLOCKER:CONFIRMecho Are you sure u want to lock the folder(YES/NO) set/p "cho=" if %cho%==YES goto LOCK if %cho%==yes goto LOCK if %cho%==no goto END if %cho%==NO goto END echo Invalid choice. goto CONFIRM:LOCKren Personal "H4x0r4Life" attrib +h +s "H4x0r4Life" echo Folder locked cls echo Do you want to backup your files?(YES/NO) set/p "cho=" if %cho%==YES goto BACKUP if %cho%==yes goto BACKUP if %cho%==no goto END if %cho%==NO goto END echo Invalid choice. goto End:UNLOCKecho Welcome Hacker... echo Please enter your password... set /p "pass=" if NOT %pass%==elitehacker goto FAIL attrib -h -s "H4x0r4Life" ren "H4x0r4Life" Personal echo Folder unlocked successfully goto End:FAILecho Invalid password goto UNLOCK2:FAIL2echo Invalid password goto end:MDLOCKERmd Personal echo Folder created successfully goto End:BACKUPcls robocopy c:\Users\TheEmoLab\Desktop\H4x0r4Life C:\backup /e /eta cls echo Files have been backup successfully! pause goto END:End
elitehacker is the password you could change this to fit your needs.
TheEmoLab is the user name in which is the name of your windows 7 account.
robocopy is the backup code in which we assume C:\ is were your windows system is installed.
robocopy C:\Users\TheEmoLab\Desktop\H4x0r4Life C:\backup /e /eta
Desktop is the folder in which we assume you are starting this project on the desktop.H4x0r4Life is the hidden folder which hosts your important information.
Note: Don't create this folder if it's not there all ready...
Step 2
[You should get a file on your desktop with a tool looking icon]
Double click Windows 7 Lock.bat
[Once doubled clicked you should get a folder on your desktop called Personal]
Step 3
[Put all of your personal information into this folder]
Step 4
[double click Windows 7 Lock.bat]
To Lock And Save You Folder
Step 5
[When you want to retrieve your file Double click Windows 7 Lock.bat]
And type in the password as was set. elitehacker
Step 6
[Also remember that your backup files are located C:\backup]
When you goto C:\ drive you will not see the backup folder
Simply goto the address bar and type C:\backup