How To Create Password To Folder Without Any Software

3
HOW TO CREATE PASSWORD TO FOLDER WITHOUT ANY SOFTWARE..

[ul][li]Open Notepad[/li][li]Paste the below codings in the notepad and save it as lock.bat[/li][/ul]
Code:
cls
@ECHO OFF
Know more Tricks at www.vidyarthiplus.com
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%== vidyarthiplus 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
   

[ul][li]you can change the password by changing the vidyarthiplus on the codings and save it.[/li][li]click on the lock.bat file and a new folder named , "myfolder" will be created.[/li][/ul][ul][li]and add some files, which u need to hide.[/li][li]after adding those files , click again the lock.bat file [/li][li]the CMD prompt will display , press Y or y and click enter. and now the folder gets hide.[/li][/ul]
To retrieve it :
[ul][li]again click on  the lock.bat file[/li][li]the CMD prompt will displays and ask for the password, u have to give the above password. which was given in the codings.. here i gave as "vidyarthiplus" as password. after typing the passwd click enter.[/li][li]now the folder will get visible to the users.[/li][/ul]

Note : Don't rename the Folder.
“Work hard in silence, let your success be your noise...”
Already posted it in V+ by me link coming soon
[Image: An9XX.gif]
if some unknown person deletes that 'lock.bat' file, it will be deleted. Then how can we secure that 'lock.bat' file bro

    How To Create Password To Folder Without Any Software