Upload

Loading icon Loading...

This video is unavailable.

How to Password Protect a Folder (Using Batch File Coding)

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like Jona T's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike Jona T's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add Jona T's video to your playlist.

Published on Jul 17, 2012

this is a tutorial on how to create a password protected folder using batch file code and notepad

*************CHANGE IN WEBSITE PLANS!!!!!!!!!!*************************­***************

LOOK UNDER THIS WEBSITE INSTEAD...THE OTHER ONE WAS TAKEN DOWN!

http://www.howtogeek.com/105633/how-t...

THE CODE IS IN THE 3RD STEP OF THIS WEBSITE. ITS BEGINS WITH:

cls
@ECHO OFF
title Folder Private
if EXIST "HTG Locker" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
: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 Private "HTG Locker"
attrib +h +s "HTG Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass="
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

Youtube would not let me put two characters in the description so I would recommend checking the howtogeek site just in case for the exact precise coding. I believe they are two greater-than symbols at the end of lines 8 and 22 of coding.

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Loading icon Loading...

Advertisement
Loading...
Working...
to add this to Watch Later

Add to