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

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...

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...

Samsung Galaxy Y Hidden secret Codes

Samsung Galaxy Y Hidden secret Codes!! Hai Samsung Galaxy Y users!! Today i am going to show some secret(hidden) codes!! Try THIS!!! Phone information:  *#*#4636#*#* Hard reset:  *2767*3855# ] Factory reset:  *#*#7780#*#* Change end call/power option:  *#*#7594#*#* Service mode:  *#*#197328640#*#* File copy screen(For Backup Media File):  *#*#273283*255*663282*#*#* Touch screen test:  *#*#2664#*#* Proximity sensor test:  *#*#0588#*#* RAM versioncodes to get firmware version information:  *#*#3264#*#* WLAN test:  *#*#526#*#* Shows wifi mac address:  *#*#232338#*#* GPS test:  *#*#1472365#*#* Another gps test:  *#*#1575#*#* Bluetooth test:  *#*#232331#*#* Shows bluetoothdevice addres:  *#*#232337#*# gtalk service monitor:  *#*#8255#*#* Packet loopback:  *#*#0283#*#* Lcd test: *#*#0*#*#* Melody test:  *#*#0673#*#* Device test (For both vibration and backlight test):  *#...