How to Lock a personal folder without software Windows (Easy Tutorial!)
So we assume that the folder name you want to lock is "My.documents", just create a .bat file on the root folder where your target personal folder located, then edit the .bat file using notpad and paste the bellow code:
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST My.Documents 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 My.Documents "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%==123 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" My.Documents
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Now the blue text is the name of the folder that you want to lock and hide, and the red text is the lock password, you can change it, dont change anything else and the folder name must not contain space.
If you want to download the file containing the same above code, download it from here.
If you like this article, please share it on facebook, tweet it and +1 it to spread it :) !
How to Lock a personal folder without software Windows (Easy Tutorial!)
Reviewed by Mhr
on
22:27
Rating:
No comments
No Backlinks please, Comments are under moderation !