how to lock folder

Posted by Generation Of Technology on Thursday, October 13, 2011

ok in this post I will try to give a knowledge of how to lock folder without using software . if you have important data, whether it's office work, the course material, music files, videos, pictures and others. maybe when you store your data in a folder or directory that you think it's safe, and nothing else to find it or delete it, but could someone find a folder or file and then delete it.
therefore I will try to make a post about how to lock folders This way is very easy to do because you just copy and paste. because of that I will give it the form of source code. ok please follow the how to lock the folder below:
open notepad on your computer then copy and pasti code from below :
-------------------------------------------------------------------
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker 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 END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "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%==x goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

---------------------------------------------------------------
and from the above code which says if NOT% pass% == x goto FAIL you please replace the letter X as a password that you want. If you complete to copy on your notepad,  save with the file name up to you and then type the file select all files. type a file name that you want but the extension must be *. bat samples locker.bat

after everything is finished you please open the file that you created sebelumnya.setelah you open it will display the folder LOCKER then save important data that you want to secure. then reopen the file you created earlier type Y and enter then you have successfully hidden your file because it is only you who know the password. then for even safer please change the file extension back into Locker.msc or Locker.dll and set propertisnya be hidden.

accepted the love for reading my post is how to lock folders and if you like do not forget to comment for this blog development. regards geoftechnology.blogspot.com

{ 0 comments... read them below or add one }

Post a Comment