Hi CindyOverton1
I'm Wilfredo S an Independent Advisor
Select the folder that contains the files you want to encrypt or protect >> Inside the right click folder >> new >> Select "Text Document"> put any name> then double click on the file type the following:
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% == And goto LOCK
if% cho% == and goto LOCK
if% cho% == n goto END
if% cho% == N goto END
I miss 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% == 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
Source>
https://www.quora.com/How-do-I-put-a-password-o...
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
I hope it helps you