Lock folder by useing notepad


This method works well Xp/Vista/win7/win8 and I hope that later versions of Windows.
There are many software that can lock files, some are free, others cost money. Why waste time and money if you could do on your computer.

Note: Use at your own risk.

Initial Start-> Run -> Notepad and press Enter.
Now the second, copy the code below and paste it into Notepad

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 here 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
Now Save Notepad as FolderLock.bat.

Now the third double-click the file and FolderLock.bat a new folder named Locker is created.
The fourth save the files in the folder and click on the Loose FolderLock.bat double, a message appears.
5, to lock the folder (in bulk) Press the "Y" command, an immediate release, press the "n" command.

Related

Windows tips 4060622110451659942

Post a Comment

  1. just stumbled upon your blog and wanted to say that i have really enjoyed reading your blog posts. any way i'll be subscribing to your feed and i hope you post again soonhttp://www.frasesparacelular.com

    ReplyDelete
  2. thanks for taking the time to write, i never find time to write good posts. i really appreciate all the good information everyone has to share.http://www.revendaautorizada.com

    ReplyDelete
  3. Hey there would you mind sharing which blog platform you're using? I'm going to start my own blog in the near future but I'm having a difficult time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I'm looking for something unique. P.S Sorry for getting off-topic but I had to ask!

    ReplyDelete

emo-but-icon

Follow Us

Hot in week

Comments


www.tecplatform.com is a technology blogging platform.Copyright © 2013 Technology Platform™. All Rights Reserved.

Side Ads

Ads code here

Text Widget

Connect Us

item