Tuesday 21 July 2015

HOW TO LOCK FOLDER WITHOUT ANY ADD-ON SOFTWARE (.BAT FILE )

1- open notepad 

2- type this script in notepad/copy because of human errors
   
   cls
@ECHO OFF
title hackingorganization.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST myFolder goto MDmyFolder
:CONFIRM
echo Are you sure to lock this folder? (Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren myFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== myfolder goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
3- OR FURTHER DOWNLOAD FROM HERE "http://speedy.sh/xUgd8/lock-folder.txt"
Save this anywhere (except on Desktop) with the  name  (anyname).bat 
4-An ms dos batch file be created ,click on that.
5-a command prompt will open type "Y" to accept conformation .
6-then new folder will be create with name "myfolder" put all the stuff in it.
7-And then again click on that ms dos batch file it will ask for password to hide that file or to open that file type "myfolder"which is default password .You can change that in above script.
8-BINGO all your files are locked in particular folder. 

No comments:

Post a Comment