Laman

Rabu, 03 April 2013

How to lock a folder without any Software


Assalamualaikum wr.wb

Today i wanna share to you how to lock the folder without using software. but we will utilize notepad. So, you can use this tips when your computer or notebook borrowed by your friends where in your notebook there is files that cannot be seen by others. ok, below is the tips :
     1.       Open notepad first and then copy – paste code below  :

@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo “Are you serious wanna lock the files ” ??(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 has locked
goto End
:UNLOCK
echo please, enter the password !
set/p "pass=>"
if NOT %pass%== myaccount 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 Folder created succesfully
goto End
:End

The password can be changed by replacing  the code that I give color.
      2.       then save with the extension.Bat : Example locker.bat,  Account.bat

How  to use :
1. Click  locker.bat (file.bat that you saved earlier)
2. Then will appear folder locker
3. Put your files there
4. Once the files are placed in the folder locker, reopen locker.bat
5. Will appear command prompt and asking "Are you serious wanna lock the files ??(Y/N)"
     If  Yes, Type Y,  if not , Type N.
6. Files hidden

how to restore the files :
1. Open locker.bat
2. Then you will be asked to enter the password , enter the  password that you have made. example "myaccount"
3. Folder locker will reappear
4. Finished.

May it useful...   :)

source : http://www.yohanngantung.com/2013/01/cara-mengunci-folder-tanpa-software.html

Tidak ada komentar:

Posting Komentar