Trick Lock Folder Without Software


Want to lock and secure files with just a code, and without using the software?

1. Go to Start -> All Programs -> Accessories -> Notepad
2. Copy and paste the following code into notepad

cls
@ ECHO OFF
title Folder Locker
if Exist “Control Panel. (21EC2020-3AEA-1069-A2DD-08002B30309D)” goto Unlock
if NOT Exist Locker goto MDLOCKER
: CONFIRMED
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 CONFIRMED
: 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 successfully unlocked
goto End
: FAIL
echo Invalid password
goto end
: MDLOCKER
md Locker
echo Locker created successfully
goto End
: End

3. Then save the file in notepad with the name Locker.bat
4. Close and then open the file again, and will be shown to enter the password (Enter Password) to unlock the folder
5. Type in your password code
6. Click again, and will show command “Do you want to lock the file Y / N”.
7. Type “Y” and press Enter.

One Response to “Trick Lock Folder Without Software”

  1. 1
    Sakthi Ganesh Says:

    Thanks, Its a good script. If you could rewrite it to hide the typing characters in the cmd windows. It would be an added security.

Leave a Reply

*

Powered by Wordpress | Copyright © Tech Buzz All Rights Reserved 2011