Sunday, July 08, 2012

How to lock folder with password on PC

      This thing was important to lock your folder and make it secure from other user on
your PC. To do this is very easy,
without using any application.
Notice : this post will teach you how to lock a folder in Windows OS.

1. Open Notepad ( usually located in start > all programs > accesories > note pad )

2. Paste the code below to the note pad that you've opened :

============================================
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%==YOUR PASSWORD 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 red word to your wanted password, and save as to the folder that you want to lock. with name "Lock.Bat", close

4. open again and input you password, click again and will be shown "do you want to lock the folder (Y/N)"

5. and input Y > enter.

 and your folder will be automatically locked
Judul: How to lock folder with password on PC
Rating: 100% based on 99998 ratings. 5 user reviews.
Ditulis Oleh Irsyad Gemilang

Terimakasih atas kunjungan Anda beserta kesediaan Anda membaca artikel ini. Kritik dan Saran Dapat Anda sampaikan melalui Kotak komentar dibawah ini.

0 Comment:

Post a Comment

You're not allowed to promote link, messages with promotional link will be deleted.

Subscribe IrsyadInfo's posts for free, just enter your email address here :

Delivered by FeedBurner for IrsyadInfo