Thursday, June 18, 2009

Lock the folder with the script.

Sharing knowledge is very beneficial, especially knowledge concerning the Science and technology.

To share knowledge at this time is how we secure the data in a folder on the hard disk in our computer. This article is already covered by Ihsan. Because I think this is very good for the featured back as a reference in my blog that I've made.

Step by step how to lock the folder with the script that later saved in notepad.

1. Copy the script below on 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%==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 Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

2. In the script there is a "type your password here", replace the sentence with the sentence will suit you. The sentence you made, is a note of the keywords that you create folders to store your important data.

3. Save the script with its extension ".bat", Example: My folder.bat.

4. Double click on the file and a few seconds and then will appear a folder named Locker.

5. Keep your files you want to lock in the folder "locker" is. Inside the folder, we can put any file that we want, with a different file extension. Both the image files, music, video, document, and other files.

6. After all the files you want saved. Double click on the script in notepad that you have created a ".bat". Then, appears a question "are you sure want to lock the folder (Y /N)". Type "y" and press enter for yes and type in "n" and press enter to no. As information, the phrase "are you sure want to lock the folder?" in the beginning of the script (default) you can change according to our wishes. Such as: Are you sure you want to lock this folder?, and others.

7. If you save the file is important, try the file that you do not keep this up to be deleted by others. You can anticipate, with facilities to enable hidden files and does not show the files that is hidden, so that other people can not delete your files

Please try these tips,hopefully successfully.

Thanks to Ihsan's Blog which has been sharing this knowledge.

Reference: http://ihsans.blogspot.com/2009/06/cara-mengunci-folder-tanpa-software.html
Blog Widget by LinkWithin

1 comments:

Ayam Goreng said...

Pernah coba Silfox Locker? Ni program khusus pendrive /flashdisk dengan sistem FAT/FAT32.
Informasi : disini dan disini.

Post a Comment

Adsense Indonesia ads ads ads

Recent Comment

Follower

My friends

[A] • Abryan • Agnoe • Anied • Antiqueall [B] • bidikCOM • Budiawan H [C] • Catalog Tutorial [D] • Destiny • Djemari Ijal • Dorothy L [E] [F] [G] • Gemmasnewworld [H] • HEALTHINFO@EarthyMe [I] • iEn Muncet • Ihsan's Blog • Ikma Malaysia [J] [K] [L] [M] [N] • Nuranuraniku [O] • O-Range [P] [Q] [R] • Robbie's Blog [S] [T] • tiriBC • True Pillager [U] [V] [W] [X] [Y] [Z]