Thursday, December 8, 2011

How to Lock Personal Folder Using the Script

How to Lock Personal Folder Using the Script

In this tutorial, I would like to share with you about learning about computer tricks for you all, especially the citizens IT!.

In my post this time, I will discuss about how to protect folders with a password without the help of software. I will try how to lock folders with passwords without using the software, but use the script.

Definitely not curious?

Well for you who wonder just deh I discuss on how to easily lock a folder with a password so that files can not be accessed by others

Step 1

Prior to her for learning, I deliberately create a new folder that I have named "trial and error".
create+folder
 Step 2

Open your windows explorer, right click> new> text document

New+Text+Document
Step 3

Copy the following script into a text document that has been made ​​earlier without the quotes
" Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private 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 Private "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}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End "
 Description:

In writing the following italicized "your password" is filled with a password or key words to access the folder
let's just say the password "654 321"

Thus, the code should look like this:
"Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private 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 Private "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%==  654321 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End "
Step 4

Save the text document in a new folder we created earlier with the name "kunci.bat". and select all files in the save as type.

Eksetensinya is. "Bat" is previously followed by the name of the file.

Step 5

Double click the file called kunci.bat earlier
will display a command / command as shown below and enter the password that we created earlier.
Enter+the+password+that+we+had
 Enter the password that we had.
Folder+Private
 Step 6

Will display a folder named private. And this is a private difolder you put the files it's important that other people do not know and want in the password.
Folder+Private+confirm
Examples of placements that we have personal files.
Examples+of+placements+that+we+have+personal+files
Step 7

When finished storing important files into a private folder, then click the back key file earlier, and then press the letter "y" and press enter. Private folder and automatically it will disappear.


Folder+Private+confirm+%2528Y%2529

Folder+Private+confirm+Success
If you want to access a folder that dipassword earlier, click the file and enter your password kunci.bat earlier, and then press enter. And to do storage in the same manner as the steps that I have explained earlier. Well good luck!
How to Lock Personal Folder Using the Script

RELATED POST:

No comments:

Post a Comment