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

KEYBOARD SHORTCUTS FOR WINDOWS 8 :

KEYBOARD SHORTCUTS FOR WINDOWS 8 :  Hai friends, The following are keyboard shortcuts for windows 8 users.I hope that this will make your Windows 8 experience much more enjoyable! I. On Pressing the Windows key + I will open the Settings at side of the screen i.e,. the charms. II. Press and hold the Windows key + D to open the Windows Desktop. III. Press and hold the Windows key to open the Start screen . ... If your are in start screen , then you will be switched to desktop on pressing windows key! IV. Press the Windows key + Print screen to create a screen shot, which is automatically saved into your My Pictures folder. V. Press the Windows key + C to open the Charms. VI. Press and hold the Windows key + Tab to show open apps. VII. Press the Windows key + X to open the power user menu at the lower left corner. This menu allows you to choose various windows tools and work with them as shown below!!   TRY THIS FRIENDS     ...

Recover images from damaged SD card

    Hai friends,  Today I will give some tricks and tips to recover images from damaged SD card : A new, high-capacity SD card which is very smaller than a postage stamp — can hold lots and lots of files or images .  If the card breaks or lost ,then you will miss entire files! There are times when a memory card just goes nonfunctional. You put it in the computer and it shows up blank, it's corrupt or ju st missing files .  1) Recuva and  2) Zero Assumption Recovery are two good applications to recover your lost files.  These free file recovery applications will find hidden or removed items on memory cards . You can use them to recover files on flash drives and hard drives as well.  After a scan, you might see your photos and other missing files. On recovering the files, be sure to save them to your hard drive. Don't try to save them to the memory card! If your card reader isn't broken and the card isn't externally...

How to repair/fix the booting problem in Windows 7 or 8?

Problem with windows boot?   Are you getting error message like   “Reboot and Select proper Boot device  Or Insert Boot Media in selected Boot device “    while at startup?   Windows 8 has upgraded the desktop side by including a few tools within its troubleshooting asset. You can primarily attempt to fix the booting problem using Startup Repair You can also choose cmd to fix this problem. The might be with MBR. Now what is MBR?   “MBR is one to boot your windows computer, it’s a small file which initiates the booting process ” Discovering a corrupt MBR, boot sector, or Boot Configuration Data (BCD) is tedious process.Now I show how to fix this problem How to repair/Fix the MBR in Windows 7 or Windows 8?   Then you can just follow the steps given below!   Step 1) First of all, you will require a BOOTABLE DISC OR PEN DRIVE. It’s recommended that you isolate other storage devices like pen...