Tuesday, 27 September 2011

How to make your own folderlock software in Notepad??


Here You go..
1.Open Notepad.
2.Write the following exactly as given:

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 u 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%==type your password here 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



3.Now Click on  File>Save As.

4.A box pops up And In that Box, Choose All files in Save As type.




5.Then Save it As Folderlock.bat.

Here Extension .bat is required.
If you have not saved it as all files, Then it will be opened in your text editor.

6.Then put it in the folder or your hard drive where the folder of your choice is located.

7. Double click the folderlock.bat And it pops up a nag screen in black colour.And it disappears in a second.

8.But It has made a folder in that directory with the name  "Locker".

9.Put your folder of choice in that folder(Locker). i.e. Move your folder in Locker folder.

10.Double click the folderlock.bat And one black window pops up as shown in image.



8.Simply Type "y" [without quotes] and press enter.

Now your folder of choice is locked.

9.You can anytime reaccess (unlock) it .You need to double click the folderlock.bat again.



10.Now you can do this as many times as you want.And as many folders you want to lock, you can lock.

11. Important thing here is there is no password other than y or n.i.e. Yes or No.

2 comments:

  1. Hidden files and folders will never be shown in Windows explorer even if it is configured to show system files and hidden files.
    Folder lock

    ReplyDelete
  2. Hello friends, its enormous post regarding tutoringand completely explained, keep it up all the time. Important site How To Password Protect Folder The Planet Using Just Your Blog

    ReplyDelete