Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Create password protected folder without any software

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
22,222
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 28, 2011

For more info Visit: http://tecnohertzz.blogspot.in/2011/12/computer-tricks-batch-programming.html
Steps to create a password protected folder in windows without any requirement of any folder locking software!!! The code for this is:
cls
@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

[change the word- 'YourPassword' in the above code with your own password]

Some other Video
https://www.youtube.com/watch?v=YmGoMqac4Kc
https://www.youtube.com/watch?v=sNjJsm6Lr1E

  • likes, 9 dislikes

Link to this comment:

Share to:

Uploader Comments (TheGenomega)

  • what theme is it??

    please aswer i want it hihihihihihhhhhihhiihih!

  • @567Arceus Its vista ultimate dark theme.

  • Can you give us a download link to the Yahoo! messenger gadget shown in your desktop?

  • @AhmedBarcelona10 i dont hv d link...but i remember downloading it from Microsoft gadgets site by searching there. :)

  • what did u record with ?

  • @TheHardCoreGamerAZ Camtasia7

Top Comments

  • when i lock it how can I hide it again?

see all

All Comments (66)

Sign In or Sign Up now to post a comment!
  • Thanks!! Now I can finally have porn on my laptop without anybody knowing :3

  • @dreadog10 yehh, ok then

  • thanks... one question though can i use this method to lock folders on and external harddrive that used across multiple PCs, while storing the batch file on my own personal pc so that others using the hardrive can't acess the folders?

  • having password makes no sense :)

  • how do i hide it once i am done using it???????HELPPPP

  • thanks bro its realy working and i want ask a question can i save the batch in my pc

  • it works cool

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more