HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to password protect folders on windows 7

637,838 views October 25, 2012 5:45

Watch on YouTube
ChannelGuidnic

Description from the creator

Here is how you do this on WINDOWS 10!!! : guidnic.net/password-protect/

Here is the code you use in notepad:
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}" Locker
echo Folder Unlocked Successfully.
GOTO END
:FAIL
echo Invalid Password!
GOTO END

:MDLOCKER
md Locker
echo Folder created.

GOTO END
:END
PAUSE





Join me on discord to chat:
discord.gg/P3fN9Z

Social Media:
Twitch: twitch.tv/timlagran
Instagram: @suddath
Twitter: twitter.com/timlagran
Alternate Youtube #1 (TimLaGran): youtube.com/channel/UCJxuMC4X2It62lk2Zo2kj2g
Alternate Youtube #2 (TimThings): youtube.com/channel/UCBY5sqPgmsEJqhow26hLtRw

About this tutorial

Guidnic published this 5:45 video tutorial on October 25, 2012. It has been watched 637,838 times on YouTube.

Channel
Guidnic
Duration
5:45
Published
October 25, 2012
Views
637,838
Likes
1,391

Tags

Share

Further reading

This tutorial in other languages