Skip to main content

How to Lock folder without any software with password


Step 1: Open Notepad
Step 2: Add Code to Document
            Now just copy the text below and paste it into your document.
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
: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 Private "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%== wonderhowtogoto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDPrivate
md Private
echo Private created successfully
goto End
:End
Step 3: Edit Folder Name & Password
With the text pasted in, you can adjust the locked folder's name, as well as the password used to unlock it. The default folder name is "Private" and the default password is "wonderhowto."

Step 4: Save Batch File

Now save the file as whatever name you'd like, but make sure the name ends in ".bat" and that you select "All files" in the drop-down box when saving. Also, if you opened Notepad directly rather than using the right-click, be sure to adjust you save location accordingly.

Once saved, your file should look like this in the folder you choose:

Step 5: Create Folder

Now double-click on the batch file you just created (or select and hit Enter). You'll notice a new folder comes up.

At this point, you can start adding files to this folder. Don't worry, you can always add to remove files from it later.

Step 6: Lock the Folder

Once you're ready to lock the folder, simply double-click on the batch file (or select and hit Enter), then choose 'y' on the window that pops up and hit Enter.

You'll notice that your folder has now disappeared.

Step 7: Access Your Hidden & Locked Folder

Now whenever you need access to your folder, just double-click on the batch file, input your password and hit Enter.

To re-lock (and hide) the folder, just hit the batch file again. And remember, you can name the batch file and folder whatever you like, you feel free to make sure of this trick in multiple locations on your Windows machine.


Comments

Popular posts from this blog

HACKING

The Best Website for hacking Learning                                    1:-  MyHackingworld 2:-  Wonderhowto 3:-  Ethical Hacking 4:-  Guided Hacking 5:-  Hacking-tutorial 6:-  Hacking With Swift 7:-  Hacking Articles 8:-  Game Hacking Best Hacking Tricks PDF   Download Best Of Best Hacking Website 1:-  HackForums 2:-  Exploit-DB 3:-  Hack A Day

The first free tool to recover deleted files from Microsoft

Windows file recovery tool is a tool developed by Microsoft that works through the command prompt cmd   with the Windows system, that is, it does not have a user  interface like the rest of the file recovery programs, but the tool is very effective and  you can retrieve the files from the hard disk, whether SSD or HDD or any portable  storage media Like flashes, external disks, and memory cards, it can also retrieve most.  file extensions, such as JPEG, MP3, PDF, and many other formats. The tool also supports three different systems for performing the search and retrieval process, namely "Default", "Segment" and "Signature". The use of these systems depends on the type of disk you want to retrieve data from, or how much time has passed to delete the file that you want to recover, as well as the disk partitioning system, whether It was NTFS, FAT, or FAT32, and in the next lines we will explain the conditions and manner of using each system. To u...

WINDOWS 10

Download The Latest Version Of Windows 10 2004 32/64 Bit 2020 Features of Windows 10        Windows 7    Windows 8 Very powerful and a lightweight operating system A reliable operating system for power users                  Delivers maximum performance and ultimate speed              Provides a sleeker user interface Removed any unnecessary Windows components Windows Cortana, Defender, Edge, Music Player, and more. Install UEFI and DirectX support Touch screen and multi-screen support Many other powerful options and features Download Windows 10 2004 x64 / 64 bit Name Win10_2004_English_x64.iso Size 4.91 GB MD5 Checksum 3cf9848ce17271e7c895366bdad98a8e Edition Windows 10 AIO custom 64 bit Download link Google Drive Download Windows 10 1909 (build 18362.30) - x64 / 64 bit Name Win10_1909_V1_English_x64.iso Size 4.6 GB    Downloa...