Skip to main content

how to lock a folder without any software in windows?

HOW TO LOCK A FOLDER WITHOUT ANY SOFTWARE IN WINDOWS?






















This is very useful trick so that you can protect your files/folders in a windows machine!

Just type the following code in a notepad and save it as *.bat !

cls
 :End
 @ECHO OFF
 title Folder Locker v1.1
 if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
 if NOT EXIST Locker goto MDLOCKER
 :CONFIRM
 echo Do you want 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 Command !!
 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 Successfully !
 goto End
 :UNLOCK
 echo Enter password to Unlock folder
 set/p "pass=>"
 if NOT %pass%==temppass goto error
 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
 :error
 echo Error wrong password !
 goto end
 :MDLOCKER
 md Locker
 echo Locker Folder created !
 goto End














Save it as "filename.bat" NOTE:It must have ".bat" as extension
 After opening it, This will create a folder called "Locker"
 Put the files which you want to lock in the "Locker" folder
 & Close the application.

NOTE: To unlock it password is temppass but You can change it.

just replace temppass to your own password!!

 

Comments

Popular posts from this blog

create CON, PRN, AUX folder in Windows

Ever tried to create the following folder in Windows?  CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, & LPT9 Probably windows doesn't allow you to create a folder in these name using Windows Explorer or Command Prompt directly! This is because windows prevent these terms as SYSTEM Folder Names   which are reserved  for the Operating System. But there is a trick to create it. Trick for CREATING those folders:  In command prompt, Type the following: md \\.\\C:\con This would create a folder named "con" on your "C Drive" i.e., md \\.\\(path where you want to create)followed by the name Similarly to delete such folder: Type the following in cmd: rd/s \\.\\C:\con This would remove the folder named "con".please note that rd(Remove Directory) command is used with "/s" switch as otherwise it would give error that "folder is not...

Protect you apps using a password

Want to protect your Software / apps by a passphrase ?   Hello friends, today I gonna teach you a trick to protect your application softwares by a   password. This avoids other users to open and launch an application .Those who know only password can customize it.   Password Door is especially used to add passwords to programs. Once protected, the list will be kept secure in a simple window. At any time, users are free to Add, Remove, Modify and Enable the protection. If you are interested to protect your pc softwares with password then just follow below steps 1)       First of all download   “Password Door software” to your PC.   2)       In the installation wizard , it will prompt you to enter a password as shown                Now you can type a password of your wish!This will be used to open the password protected software...

Tips for quick web surf

Tips for quick web surf   1. Protect yourself and avoid bad web sites  How would I be able to ensure myself while online?   a) Avoid Internet phishing. b) Protecting children from unsafe sites and individuals on the Internet.     2. Know your browsers alternate ways i.e., shortcut keys   There are dozens of different shortcut keys that can be used with Internet browsers. For eg, Pressing Alt + D in any real Internet program will move the cursor into the location bar. This is an extraordinary approach to rapidly enter an Internet address without needing to click the mouse cursor in the location bar. Likewise,    Hold down the Ctrl key and press the + or - to increase and decrease the size of content (zoom).    Press the delete key or hold down the Alt key + left bolt to backpedal a page.    Press F5 to invigorate or reload a site page.    Press F11 to make the Internet program screen fu...