Bat file will do.
Right-click on the desktop. "Create New Text Document" select. I'll give u the code below Copy / paste into Notepad file you opened the paste
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 %== BURAYA PASSWORD YAZILACAK 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
------------------------------------------------------------------------------------------------------------------
Now I mentioned above, with red sections to use to open the folder will be required to write passwordu. After adding the desired passwordu
Save the file. Txt to save as normal. Bat extension is a need to translate. For it;
Start
My computer
C Click
---- Top Tools> Folder Options ---> View ---> "Hide extensions for known file types next to" remove the tick and I said OK and exit.
We're ready to return to the desktop with a new text file in the form of Belgesi.txt 1 mouse-clicking or what we want to give the name and the last to give. Bat xxxxx.bat ----> save as adding.
Now that we've created. Bat file, put it on the destination hard drive
When you click on the file, folder you have set the "Locker" will create a folder named. You'll use this as a hidden folder. You want to hide, move files into this folder and click on the file named xxxxx.bat created again.
Are you sure you lock the folder u want to? Y / n. when asked in the form of "Y" will appear locker folder is named. Click here if you want to reuse a password to ask xxxxx.bat. Enter your password and the folder named Locker would be visible again ...
0 comments:
Post a Comment