Sabtu, 07 Januari 2012

Lock Your Folder Without Software


Sabtu, Januari 07, 2012 |

Normally, if you'd like to lock a folder inside your computer, you have to install a software to make it possible. Such as Folder Lock from here or another software.

But actually, it is not impossible to lock a folder without software. Just applying a short script and a little bit effort. So how to do that? Check it out..!

  1. Open your Notepad program
  2. Copy the script below into the Notepad

    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%==INSERT YOUR PASSWORD anda 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. Change the sentence "INSERT YOUR PASSWORD" with your own password, that you'll use to open the locked folder.
  4. Save the notepad by using extension .bat (such as : locker.bat)
  5. Open the file that you've saved with extension .bat, if it's working well, a folder named "locker" will be appeared.
  6. You can input your private file into the "locker" folder.
  7. After that, run the ".bat" formated file, and then a sentence "Are you Sure you want to lock the folder?" will be appeared. Just type Y to lock the folder.
  8. To lock and to open the "locker" folder, you have to run the ".bat" file. So that, you have to keep the file hidden, to avoid it's deleted or opened by other people.
from :
Thank You and don't forget to leave your comments below.


You Might Also Like :


0 komentar:

Posting Komentar

DAFTAR ISI

    HARDWARE


    SOFTWARE

HISTORY

TIPS & TRIK

TUTORIAL

GAMES

NINJA SAGA

JOKES

OTHER

UNIK

JARINGAN

NINJA SAGA

KNOWLEDGE

ISLAM

BLOG