How to lock a folder without any software :
open a notepad : copy the below code & save as locker.bat
Step 1:
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 and 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%==123456 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
Note : see the blue color..i put my password.whatever u like to put the password .write here[Bue colo],dnt press space.look it care fully.
Now Convert the file .bat to .exe . click here :
See the Screen shot:
click to Finish .. Compile
After that it'll make on folder in Desktop.
* Double click this folder. put ur password.which u put in notepad.
* it'll make one more normal folder.
Now u can save ur file's in the folder. again click locer.exe folder and type ur password.
are you sure and want to lock the folder(Y/N)
Type Y ..... Press Enter for exit
That folder will'be Hide from ur pc.if you click the folder option > Tools > Views > Hidden file and folder : Click show hidden files and folders..it will dnt show ur folder.
if want to get back that folder again..click the locker.exe folder .and type ur password.
open a notepad : copy the below code & save as locker.bat
Step 1:
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 and 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%==123456 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
Note : see the blue color..i put my password.whatever u like to put the password .write here[Bue colo],dnt press space.look it care fully.
Step:2
Now Convert the file .bat to .exe . click here :
See the Screen shot:
click to Finish .. Compile
After that it'll make on folder in Desktop.
* Double click this folder. put ur password.which u put in notepad.
* it'll make one more normal folder.
Now u can save ur file's in the folder. again click locer.exe folder and type ur password.
are you sure and want to lock the folder(Y/N)
Type Y ..... Press Enter for exit
That folder will'be Hide from ur pc.if you click the folder option > Tools > Views > Hidden file and folder : Click show hidden files and folders..it will dnt show ur folder.
if want to get back that folder again..click the locker.exe folder .and type ur password.
WOW great thing i'm a fan of bat file