Skip to main content

Password-protected Folder using Notepad

Today I am going to teach you how to create a password protected folder using notepad. There wont be any need for you to download any software to lock your folders after you learn this trick. To use this Notepad trick, follow these steps


Open Notepad and Copy the following code:

@ECHO OFF
title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 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 folder
set/p “pass=>”
if NOT %pass%== digital.guide goto 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
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
  • digital.guide written in purple is password. You Can Change it to your own password.
  • Now Save the file as private.bat with File Type As All Files (*.*).
  • Now, when you click private.bat, it will create a Private folder. Moveall  your private files, documents and folders you want to password protect here.
  • Close Private folder.
  • Now, no one will be able to open the folder without the password.
This should help you get the desired result.Thank You!!

Comments

Popular posts from this blog

Bellmanford Algorithm C++ Program

The  Bellman–Ford algorithm  is an  algorithm  that computes  shortest paths  from a single source  vertex  to all of the other vertices in a  weighted digraph . It is slower than  Dijkstra's algorithm  for the same problem, but more versatile, as it is capable of handling graphs in which some of the edge weights are negative numbers. Here is the Source Code: #include<iostream> #include<stdio.h> using namespace std; #include<conio.h> #define INFINITY 999 struct node {     int cost;     int value;     int from; }a[5]; void addEdge(int am[][5],int src,int dest,int cost) {      am[src][dest] = cost;      return; } void bell(int am[][5]) {     int i, j, k, c = 0, temp;     a[0].cost = 0;     a[0].from = 0;     a[0].value = 0;     for (i = 1; i < 5; i++)     {         a[i].from = 0;         a[i].cost = INFINITY;         a[i].value = 0;     }     while (c < 5)     {         int min = 999;         for (i = 0; i < 5; i+

How to find Virus using cmd

Today I am going to show you how to find virus using this simple cmd command.In order to learn how to find the virus and delete it ,just follow the steps given below: Go to search and type cmd,open it. In cmd type cd\ and press enter key and then type 'attrib' and press enter . A list will appear If the file in front of SHR has a .exe or .inf extension , then it means that it is a virus!...If not your PC is safe. How to Delete The Virus type "attrib -s -h -r nameoffile.inf" and press enter key (change name of file to the fie with virus) then type "del nameoffile.inf"  and press enter. In nameoffile type the file name which is infested with virus. Boom! You have deleted the virus now!! Hope it helped ..Thank you :)

How to create Bootable USB using Rufus

Rufus is a great software that allows you to create a bootable USB drive using an .ISO file.Its Ideal for installing programs and software on windows for whom CD drive are not available. In order to create a bootable USB drive you will need three things : 1 USB drive 2 Your .ISO file which you want to boot your USB with. 3. Rufus Let's get going!! STEP 1 First of all download Rufus , you can download it from their site -  https://rufus.akeo.ie/ Download the latest version (right now its Rufus 2.9). You don't need to install it , it runs directly STEP 2 : Inser the USB drive and open Rufus , make sure you take backup of all files in your USB drive because Rufus will format the USB before booting it. STEP 3: Once you have started Rufus check for all desired things. Make sure device field is set to the correct device(device that you want to boot i.e USB) Also Make Sure "Create a bootable disk " option is ticked else i