@ECHO OFF title Folder Hide if not exist readme_locker.txt goto readme if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Personal goto MDLOCKER :CONFIRM echo Are you sure you want to lock the 'Personal' folderY/N) set /p "cho=>" if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto exit if %cho%==N goto exit echo Invalid choice. Try Again. goto CONFIRM :LOCK ren Personal "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked pause goto exit :UNLOCK echo Enter password to unlock folder set /p "pass= >" attrib -h -s "c:\windows\setup.ecr" set /p oripass= < c:\windows\setup.ecr attrib +h +s "c:\windows\setup.ecr" if NOT %pass% == %oripass% goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Personal echo Folder Unlocked successfully pause goto exit :FAIL echo Invalid password.... echo If you forgot the password mail me:kpmsivachand@yahoo.com pause goto exit :MDLOCKER rem echo Enter the name for create a folder to hide: rem set /p "name= >" echo Enter the password for hide the 'Personal' folder: set /p "msg=>" del "c:\windows\setup.ecr" cls echo %msg% >> c:\windows\setup.ecr attrib +h +s "c:\windows\setup.ecr" md Personal echo 'Personal' Folder created successfully ... echo It is created in the current directory... pause goto exit :readme echo Readme file created.... echo Follow the procedure according to the readme_locker.txt echo ================================================>> readme_locker.txt echo Folderlocker 1.0 (Beta) * README FILE * Nov 22, 2007 >> readme_locker.txt echo =============================================== >> readme_locker.txt echo CONTENTS: >> readme_locker.txt echo 1. What is Folderlocker? >> readme_locker.txt echo 2. Steps >> readme_locker.txt echo 3. Contacts >> readme_locker.txt echo 1. What is Folderlocker? >> readme_locker.txt echo ------------------------ >> readme_locker.txt echo Folder locker is used for the protect a folder with a password. >>readme_locker.txt echo 2. Steps >> readme_locker.txt echo -------- >> readme_locker.txt echo i.Enter the password for hide the 'Personal' folder >> readme_locker.txt echo ii.Drag the files into 'Personal' folder to protect >> readme_locker.txt echo iii.Run the folderlocker.exe again >> readme_locker.txt echo iv.If you want to lock the folder hit 'y' or 'Y' Without Quotes >> readme_locker.txt echo vi.If you want to retrieve the folder run the folderlocker.exe again >> readme_locker.txt echo vii.Give the Correct password >> readme_locker.txt echo 3. Contacts >> readme_locker.txt echo ----------- >> readme_locker.txt echo Yahoo!: >> readme_locker.txt echo Google: >> readme_locker.txt echo Note: >> readme_locker.txt echo ----- >> readme_locker.txt echo ============================================== >>readme_locker.txt pause
:exit @rem ******* Program End here ******************
1. Copy the above code and paste it into the notepad and save it as folderlocker.bat and run it.... 2. Now double click on locker .bat 3.
It will create folder with Locker automatically for u. After creation
of the Locker folder, place the contents u want to lock inside the
Locker Folder and run locker.bat again . 4. readme_locker.txt file will be create in the current directory... Which would help u how to proceed