Friday, September 28, 2012

Lock The Folder Without Software


Assalamu'alaikum..., I'll see you again in this blog. Are you so confused to look for what good software for locking folders? Don't worry, that all available in windows anyway, just a little effort. On the post this time we will discuss how to lock a folder without any software. Immediately wrote us see.
So first open notepad. you know the notepad which one? Continue to type this in notepad.

Quote:

Quote: cls

@ECHO OFF

title Folder Rahasia

if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK

if NOT EXIST Rahasia goto MDLOCKER

:CONFIRM

echo Are you sure 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 Rahasia “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%== 1234567890 go to FAIL

attrib -h -s ”Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”

ren ”Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”  Rahasia

echo Folder Unlocked succesfully

goto End

:FAIL

echo Invalid password

goto end

:MDLOCKER

md Rahasia

echo Rahasia created succesfully

goto End

:End


Create a folder name in bold just change the first if you want to change passwords continue to just change that in the second bold. Continue to save with name " kunci.bat" at the desired location.

Hoopla, secret folder has finished.





No comments:

Post a Comment