Saturday, April 7, 2012

►How to Lock Folder using notepad

1. Open Notepad file.
2. Copy the below code and Paste it in notepad.

cls
:End
@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%==pirateupload 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

In the above batch code we added password is pirateupload, and you can change that password.

3. Now save the notepad file as yourname.bat

4. Now a batch file will created in where you saved location.

5. Open that batch file, at the same time you will see Locker folder,

6. Now store your personal files like pictures, videos, documents, etc...

7. Once again open batch file to lock the stored file in folder. Now press Y and press Enter.

8. Now your folder will be invisible and protected. but batch file be there.
When you want to unlock the folder, then again open batch file and enter your password 

Batch file password can easily get by just right click and edit batch file. So to prevent someone getting your password you need to follow this next step...
  • Download winrar and install to your PC
  • Right click batch file and add to archive
  • Click advance and set your password
  • After creating winrar archive, delete MS-DOS Batch file
  • Use password protected winrar archive to lock and unlock folder.


►Back to download list -SKIP AD to continue...

5 comments:

  1. https://www.google.co.in/#q=lock+folder+with+password+site:blogspot.com&hl=en&tbo=d&psj=1&ei=3GbyUM__EInVkwWk3YDwCA&start=320&sa=N&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=8e0448cc51066808&biw=1366&bih=659

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. Free Folder Lock Software For COMPUTER PC - Don't Devote Time Browsing, Study Regarding PC Devices Right here password protect folders on portable drive

    ReplyDelete
  4. Folder Lock PC App Gallery - Don't Waste Time Searching, Read through About Cellular Desktops Right here agosto

    ReplyDelete
  5. Hello friends, how is all, and what you wish for to say on the topic of this paragraph, in my view it's really remarkable in support of me. Dig this: Lock Files

    ReplyDelete