Wednesday, November 12, 2008

Create Ur Own Folder Protecting Software

You may be thinking that you need to download some softwares from internet to do that. Or you may be thinking that I will teach you to protect the files by hiding. NO ! NO ! NO !

You will learn here to make your own software to create FileProtector software. You will be able to do this just by the Notepad and the program provided here. Here is how to do that.

1) Copy the program below starting from #START# and copy upto #STOP#
2) Remove “pankaj” from the program and enter your password there.
3) Open Notepad and paste the program into it.
4) Save the notepad as FileProtector.bat
5) Double Click the FileProtector.bat file. You will see a new folder FileProtector created. There, you can store your files and folders to be password protected.
6) Double Click the file again, type y and press enter. The FileProtector folder will be hidden.
7) Double Click again and enter the password which you had set in STEP 2.
Thats all ! Your FileProtector software has been created. Now enjoy using free software created by you.

Q. What if somebody deletes my batch file ?
A. Don’t worry. You need to only create the batch file again with the same process as you did now and you will get all your files and folders back safely.

#START#
cls
@ECHO OFF
title Folder FileProtector
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST FileProtector goto MDFileProtector
:CONFIRM
echo Unprotected : Press y to lock the folder.
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 FileProtector "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder FileProtector
goto End
:UNLOCK
echo Please , give your password to open the protected files !
set/p "pass=>"
if NOT %pass%== pankaj goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" FileProtector
echo FileProtector Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDFileProtector
md FileProtector
echo FileProtector created successfully
goto End
#STOP#

No comments:

Post a Comment