Monday, 17 November 2014

How to set password to any folder in your computer without any external software?

Post by Jeet Patel


                         Here’s a great thing that you all need to know. I was thinking of this post since last week and here it is. ENJOY!!!!!! Let’s go step by step.

STEP !:
                Open notepad.

STEP 2:
                Now you need to paste the below code in you notepad file.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@echo off
title Folder Locker
IF EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}" GOTO UNLOCK
IF NOT EXIST Locker GOTO MDLOCKER
echo Folder Created.
: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 Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}"
echo Folder Locked.
GOTO END

:UNLOCK
echo Enter password to unlock the Folder :
set/p "pass="
IF NOT %pass% == YourPassword GOTO FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}" LOCK
echo Folder Unlocked Successfully.
GOTO END
:FAIL
echo Invalid Password!
GOTO END

:MDLOCKER
md Locker
echo Folder created.

GOTO END
:END
PAUSE

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Paste in notepad

Now let us understand the above code little bit. The word you see “YourPassword” in code is your password. You can put anything over there as your password. Now you have to save the file with “.bat” extension that is the batch file.

Save with .bat (BATCH file)
STEP 3:
                Now you need to run that BATCH file and the command prompt will pop up. It will ask “You want to create the file or not” You need to press “Y” for YES and “N” for NO. If you pressed Y it will create a file for you.

Run BATCH file
STEP 4:
                Once you have created the file you have to set the password for it. So again go and run the BATCH file. It will ask you to set the password. You have to press  Y for positive response and hit enter. As soon as you hit enter, the folder that you created will disappear. Now you need to access the folder again. So again run the BATCH file, command prompt will pop up and will ask for the password.

Setting Lock

Entering Password


NOTE:   To keep your file safe, you need to place that BATCH file into some external storage or at some safe place, So that no one can edit the code and change your password.



Follow on Facebook: Jeet Patel

Sunday, 16 November 2014

How to take a screenshot on Windows PC?

Posted by: Jeet Patel

                            This is a just a short and simple post, this post is for those section of fellas who don’t know how to take screenshots in their windows OS machine. I’ve seen many people downloading software to take screenshots, but after reading this one you’ll hate yourself for doing downloading those screenshot softwares ;) . It’s a very simple task to accomplish. Following are the steps, follow them and you are on:

Step 1:
                Find the button on your keyboard saying “PtrSc”. It will be around your function keys somewhere (this will depend on your machine’s company).

PtrSc button.


Step 2:
                After finding this key you need to go to that screen of which you want to take screenshot.

Step 3:
                Now simply press “PtrSc” or “CTRL+PtrSc” (again depends on machine’s company).

Step 4:
                Open MS Paint. If you don’t know how to open MS Paint (Press Windows+R, type “mspaint”, hit enter).

Step 4:

                In Paint you just need to paste the screenshot by “CTRL+V” and save the image wherever you want.


Follow on Facebook: Jeet Patel