0% found this document useful (0 votes)
63 views

Subject - Re: How To Give Password To A Folder?????

This document provides instructions for creating a password protected folder without additional software. The instructions involve creating a .bat file using Notepad, inputting a password, saving the file, running it to create a "Locker" folder, adding files to the Locker folder, and running the .bat file again to hide the Locker folder until the password is provided. The .bat file uses renaming, attributes, and conditional statements to lock and unlock the protected folder.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Subject - Re: How To Give Password To A Folder?????

This document provides instructions for creating a password protected folder without additional software. The instructions involve creating a .bat file using Notepad, inputting a password, saving the file, running it to create a "Locker" folder, adding files to the Locker folder, and running the .bat file again to hide the Locker folder until the password is provided. The .bat file uses renaming, attributes, and conditional statements to lock and unlock the protected folder.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Subject - Re: How to give password to a folder?????

Follow instructions..You don't need even software to Protect your Folder


You have to create one txt file and following instructions..simple..



Folder Lock without any Software: (Follow Following Instruction)

1-Open NotePad.
2- Copy following CODE
3- Write Your Password in Yellow Marked area (Delete Type Your Password and
Enter Your Password) .
4-Save This file as a locker .bat
5-Open This locker .bat file
6-Enter your Password.
7-You can see that new Locker Folder is Created .
8-Put Your Important Data in this Locker Folder.
9-ReOpen locker .bat File. Its Show message Are u want to save this(Y/N)
10- Enter Y
11-You can see that Your Locker Folder is Vanished.
12- To Reopen File. Open locker .bat File and Apply Your Password.
Enjoy

CODE:
************************************************** ********
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%==type your password here 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

Jignesh.Parmar
Excel Programs-Softwares-Books-Novels

You might also like