• About
  • Contact

Things For Computers

  • Home
  • Earn Money
    • Free Lance
    • 13 Trusted Sites to Make Money
  • Tricks
    • Faceook Tricks
    • Computer Tricks
    • Internet Tricks
    • Blogger Tricks
    • Chrome Tricks
    • Firefox Tricks
    • Funny Tricks
    • Google Tricks
    • Hacking Tricks
    • Notepad Tricks
    • Virus Tricks
    • Youtube Tricks
    • Whatsup Tricks
    • Amazon Tricks
    • Alexa Tricks
  • Free Internet
    • Mobilink Tricks
    • Zong Tricks
    • Telenor Tricks
    • Ufone Tricks
    • Warid Tricks
    • Airtel Tricks
  • Softwares
    • Latest Softwares
    • Utility Softwares
    • Computer Software
  • Blogging
    • Blogging Tips
    • Blogger Tricks
    • Blogger Widgets
    • Blogger Templates
Home » Tips-Tricks » How to Lock any “file and folder” without any software.

How to Lock any “file and folder” without any software.

Hasan
Add Comment
Tips-Tricks
Lock Folder



You are looking to protect your file or folder any how any cost, don’t worry, in this article I’m going to show you how locks any file or folder using without any software. Here I will show you how to protect yourfile or folder, just follow these simple steps below:

At first open notepad by using “win-key + R”, that means open run and type notepad into the box and press enter or open any text editor. Then copy & paste the following code below and save it “ .bat ” file extension, example for “lock.bat”, whereas the lock is given name and .bat is the file extension. Then go to your save location and double click to run it, now you should see a command prompt where need a password to open the locker. Your password is “mypassword”, you can change your password any time when you want to change.

Step-1:
Open notepad or any text editor.
Blank Notepad

Step-2:
Copy this code:
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%==mypassword goto FAIL
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
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End

Step-3:
Paste into the notepad
Paste

Step-4:
Save it lock.bat extension
Lock.bat & Locker

Step-5:
Now go to your save location and double click to run your “ lock.bat ” file. Then open a command prompt window, here need for a password to unlock. Now you must see a “ Locker” folder on your save location. Your default Password is “mypassword”.
Changing Password

Note :-- If you want to change your password, then Right click your lock.bat file extension then click edit and find “mypassword” to change your password, then replace your password to “mypassword”. Example for any name, phone no. etc.
              You can create this locker any drive or folder. That’s it. Enjoy……..@@@
Tweet
How to Lock any “file and folder” without any software. Title : How to Lock any “file and folder” without any software.
Description : Lock Folder You are looking to protect your file or folder any how any cost , don’t worry, in this article I’m going to show you how locks a...
Rating : 5

0 Response to "How to Lock any “file and folder” without any software."

← Newer Post Older Post → Home
Subscribe to: Post Comments (Atom)

Back to top!