Skip to main content

Lock you personal folders within Windows

Good one to protect your file. Folder Lock without any special software
Open Notepad and copy the below code and save as locker.bat. Don't forget to change your password in the code it’s shown the place where to type your password.

Now double click on locker .bat

First time start it will create folder with Locker automatically for you. After creation of the Locker folder, place the contents you want to lock inside the Locker Folder and run locker.bat again.

For unlocking run the locker.bat again and give the password.

I hope this comes in handy

cls
@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%==type your password 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
:End

Comments

Popular posts from this blog

Honda recalls Jazz and City Cars

Automobile Giant Honda recalls 646,000 Fit/Jazz & City cars worldwide because of its window switch defect which could lead to fire.Yesterday it was Toyota and today its Honda. Whats the problem ? Under some severe operating conditions, water or any other liquid may enter the driver's window and reach the master power window switch resulting in impaired function of the switch. If the master power switch is damaged then it may lead to fire and and threat to life. There were three reported cases of fire due to the defect two in America and one in South Africa. Jazz in India wont be hit Honda spokesperson in India said it wont affect Jazz in India because the hatchback sold in India are next generation model and the defects pertains only to the previous generation models which was not sold to India.

Helping an Employee Who’s Struggling with Postpartum Depression

Going back to work is tough for any new parent, but the transition is especially difficult for those suffering from postpartum depression. (Remember, postpartum depression affects both women and men.) If you manage someone who has recently had a baby, pay close attention to how they’re doing — a parent’s struggle doesn’t always show on the outside. Some people may overcompensate by working too hard, while others may show a loss of enthusiasm. Familiarize yourself with the services your firm offers — which may include groups for working parents, health care coverage for counseling, or post-natal yoga or meditation classes — so that you can help your employee access support. Offer options such as flex time, telecommuting, gradual return, or peer mentoring. In fact, it’s a good idea to offer these things to all team members so that the new parent doesn’t feel singled out. Find ways to make supporting employees and their mental health part of your culture. Adapted from " What Managers...

Encourage Employees to Learn by Sharing Your Own Growth

As a manager, it’s your job to make sure everyone on your team keeps learning. But beyond encouraging people to take classes and go to conferences, how do you do it? A good starting point is to talk about your own development. When managers open up about their personal areas for improvement, it becomes more acceptable for everyone else to do the same. Ask yourself these questions, and share the answers with your team: “What areas do I need to grow the most in? What insights have I found helpful in accomplishing these goals?” And when you come back from a workshop or training, don’t resort to the typical “It was interesting” summary — be specific. For example, you might say, “I thought I was a good listener, but now I can see that this is a growth area for me. The training showed me new ways to interact with others, and although they aren’t necessarily comfortable for me, I’m going to try them out.” Adapted from " Make Sure Everyone on Your Team Sees Learning as Part of Their Job ,...