How To Lock Any Folder Without Using Any Software On Your PC
How To Lock Any Folder Without Using Any Software On Your PC
Step 1. Open notepad and copy paste the below code:
cls
@ECHO OFF
title locked-by-www.quadgen.blogspot.in
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== QUADGEN goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
Steps 2. Then save the file as lock.bat (.bat is must)
Step 3. Now locate the saved file (lock.bat) and double click on it. A new folder name "My Folder" will be created.
Step 4. Copy paste all the files you want to secure in "My Folder."
Step 5. Now go back to the lock.bat file and double click on it. A new command prompt appears, Type "Y" and hit enter.
Step 6. Now the "My Folder" will become invisible to anyone. To access the files, double click on "lock.bat" file.
Step 7. A command prompt appears asking for a password, enter the password and hit enter. "My Folder" will become visible again.
Note: You can save the file as any name but do not forget to save it as ".bat"
And to change the password, replace the word QUADGEN with your choice of password in the above code.
After completing the above steps your files are secure and cannot be accessed without a password.
Download .txt File From Below
0 comments:
Post a Comment