Skip to main content

How To Lock A Folder Using Notepad


You must be using a lot of software in order to Protect your files and folders , itday I am going to tell you about a trick using which you can Lock any folder just by using notepad only.
1. Open Notepad and paste the above code there below there-
cls
:End
@ECHO OFF
title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the 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 Locker “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 folder
set/p “pass=>”
if NOT %pass%==
anmolawesometricks.blogspot.in goto FAILattrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
2. In the above program I am using rightyaleft as the password of the file. You can change that to any of your desired name.
3. Save the file in the name of mylocker.bat .


4. Double click on the mylocker.bat  file which you create, a new folder by name Locker will be created on the same location of bat file you saved.
5. Copy your files to this folder and open bat file again and type y and then enter to lock your folder.

6. To unlock your file again, you need to open the bat file and enter your password.

Comments

Popular posts from this blog

7 Data Recovery 2.3.0 Enterprise Serial Keys are Here ! Comprehensive Data Recovery Software for All Your Needs

Recover Your Data Efficiently and Effectively 7 Data Recovery is a complete and capable data recovery software designed to rescue your files under almost any conditions. Whether you've accidentally deleted files, have a damaged or formatted hard drive, or lost data from mobile devices, 7 Data Recovery has you covered. Main Features Accidentally Deleted Files Recovery:  Quickly recover files that have been mistakenly deleted. Complete Recovery from Local & External Drives:  Restore data from both internal and external storage devices. Recover Data from Lost and Deleted Partitions:  Retrieve data from partitions that have been lost or deleted. Recovery of Photos, Images, Videos, and Audio:  Recover various media files from different sources. Mobile Phone Recovery on Windows:  Extract lost data from your mobile devices using a Windows PC. Memory Card Recovery:  Recover files from memory cards used in cameras, phones, and other devices Download and Registra...

Revo Uninstaller Pro 3.0.8 (Latest) Crack is Here ! The Ultimate Solution for Software Removal

Revo Uninstaller Pro helps you effortlessly uninstall software and remove unwanted programs installed on your computer! Even if you face issues uninstalling programs via the default “Windows Programs and Features (Add or Remove Programs)” control panel applet, Revo Uninstaller Pro is your go-to solution. Why Choose Revo Uninstaller Pro? Revo Uninstaller Pro is a faster and more powerful alternative to the “Windows Programs and Features (Add or Remove Programs)” applet! It comes packed with powerful features to ensure complete uninstallation and removal of programs. Key Features of Revo Uninstaller Pro Extended Scanning for Leftovers: Advanced algorithms ensure no remnants are left behind. Real-Time System Monitoring: Track system changes during program installation. Forced Uninstall: Remove remnants of already uninstalled programs. Quick/Multiple Uninstall: Quickly uninstall one or multiple programs in a row. Logs Database Usage: Integrate with a database of installation logs for a be...

Auslogics BoostSpeed Premium 7.3.1.0 Serial Keys are Here ! [Latest]

Auslogics BoostSpeed 7 AusLogics BoostSpeed : the ideal solution to keep your PC running faster, cleaner and error-free. This powerful optimization suite will boost Internet connections, tweak Windows to its peak performance, clean registry and block annoying ads. It’s a great way to keep your computer clean and optimized. Modify Windows settings, file system and services to greatly increase system performance. Increase startup and shutdown speed, disable annoying CD autorun and error reporting features. BoostSpeed will keep monitoring your system for possible optimizations and let you know if such optimizations are possible. You can also run the System Optimization Wizard to periodically optimize your PC. Speed Up PC With BoostSpeed Modify Windows settings, file system and services to greatly increase system performance. Increase startup and shutdown speed, disable annoying CD autorun and error reporting features. BoostSpeed will keep monitoring your...