How to Lock Folders Without Software

How to Lock Folders Without Software

This is very useful for those of you who want to keep valuable files so that in the future, no one can open the folder except you, the way it is also easy and does not require additional applications.

For those of you who want to lock a folder on your PC or laptop without using special software for privacy reasons, you can follow these simple steps:

How to Lock Folders Without Software

1. Open Notepad

2. Copy all the scripts below and paste them in Notepad

@ECHO OFF
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 this folder now? (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 Enter Y or N
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Congratulations your folder is locked
goto End
:UNLOCK
echo Please enter your Password
set/p "pass=>"
if NOT %pass%== password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Congratulations, the Folder is open
goto End
:FAIL
echo Sorry the password you entered is incorrect !
goto end
:MDLOCKER
md Locker
echo Locker Created successfully
goto End
:End

Description:

Replace the text marked with the desired password.

3. Then save (Save As) notepad with extension .bat (example: cyreughide.bat).

4. Double-click on the .bat file created earlier so that the folder "LOCKER" appears.

5. Input/Move the Folder/Data/File you want to save/hide into folder  "LOCKER " earlier.

6. After that, click the .bat file again, it will display the text  "Are you sure you will lock this folder now? (Y/N)  "If you Select Yes, then write it with the letter Y and press ENTER.. Vice versa. So automatically, the file  "LOCKER " will disappear and the contents therein. And if you want to open the folder, click the .bat file and enter the password you have previously specified.

Hopefully useful.

0 Comments

Post a Comment