Minggu, 26 Januari 2020

cara mengunci folder tanpa Software


Asalamualaikum wr.wb
Artikel kali ini saya akan membahas tentang cara mengunci  folder tanpa harus menggunakan software, mungkin anda punya file rahasia berupa document atau hal penting , nahhh ini dia tipsnya
Langsung saja kepokok permasalahnya
1.     Langkah pertama buka notepad anda  copy kan scrip ini di notpat


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%==Adi setiawan 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.     ganti  tulisan yang berwarna merah dengan pasword anda  lalu simpan file tersebut dengan nama  “look.bat”  (ingat tanpa tanda kutip)
     3.  lalu tutup fle tersebut  kemudian buka laghe , masukan pasword anda kemudaian tekan Enter
         akan muncul folder baru masukan file atau folder ke dalam folder baru tersebut 
     5.  lalu klik laghe file tersebut maka akan tampil perintah “Do you want to lock the file Y/N                                        
     6.   tekan Y di kyboard anda lalu tekkan Enter   
     7. untuk mebukanya kembali klik file tersbt masukan pasword kemudian tekan enter

Related Posts

Tidak ada komentar:

Posting Komentar