Welcome to InfoExpo - "Explore the World of technology" ~ New: N-Tools | Make Money Online | Latest: Google DriveR | BigRock Discount ~ Guide On: Online Shopping


Friday, November 15, 2013

Develop a Folder Locking or File Securing Solution with Notepad on Windows


Develop a Folder Locking or File Securing Solution with Notepad on Windows


Latest and best Folder/File Password Protecting Trick for Windows 7, Windows 8 Versions. Lock and Secure any number of files or folders with password without any software usong Notepad.
Notepad is simple text Editor on Microsoft Windows, Even though its a simple Editor, it has lots of uses since we can write codes and programs on it, also by providing suitable file extensions for a Code on written on Note pad we can build Applications supported for Windows.
So here we are going to make use of this advantage to build a Folder Lock Application which is enough secure and powerful.



Develop the Folder Lock App
  • Open Notepad
  • Paste the below code in it,


cls
@ECHO OFF
title infoExpo.in
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Safe-Folder-(www.InfoExpo.in) goto MDSafe-Folder-(www.InfoExpo.in)
: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 Safe-Folder-(www.InfoExpo.in) "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%== infoexpo goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Safe-Folder-(www.InfoExpo.in)
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDSafe-Folder-(www.InfoExpo.in)
md Safe-Folder-(www.InfoExpo.in)
echo Safe-Folder-(www.InfoExpo.in) created successfully
goto End
:End
  • Save the Notepad File as Lock.bat  
*Tip: You can give any name for this file but should end with  .bat 
eg: FolderLock.bat   Safe.bat  SecureFiles.bat  etc
  • Now you have Successfully Built the Folder Lock App

Read: Access hidden amazing international wallpapers,themes on Windows 7

Read: Welcome message when you log on your computer

Working
  • Double Click Lock.bat file you had created above ,
  • Now a new Folder will be created named Safe-Folder
  • Now Transfer all your data to be protected, to this folder(Safe-Folder)
  • Now Double Click Lock.bat file, Now a Command Prompt window arises
  • Type Y and Press Enter
  • Now the Secure Folder gets hidden
  • To access the Hidden Folder Double Click Lock.bat
  • Now It will ask for Password, Enter the password and hit Enter, The folder becomes visible
Note:  The default password is  infoexpo

Tip: To change password replace infoexpo with your password in the first step code.


How to Boost the level of Security

The Lock.bat file Contains the password as well as it is the unlock solution; for accessing the securing the files,
You can move thisLock.bat file to Somewhere else ,
eg: To any other location or other external devices like USB/FlashDrives etc
And copy to the original  location when ever you need to un secure the files.

If finding any difficulty leave a comment or mail: [email protected]

Read: Get back deleted files from Pendrives and other USBs







Buy Everything Online at Cheap Price


Get Free Updates to your Inbox
Follow us on:
facebook twitter gplus pinterest rss