How to Lock Folder in PC?

Hey Guys, Today I'll show you how to lock a folder in your PC! If you've watched my YouTube video than just scroll down to code section else please prefer to the video first.


Copy The Following Code

cls


@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Folder-name goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock this 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 Folder-name "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}" Folder-name
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Folder-name
echo Locker created successfully
goto End
:End

0 comments:

Meizu Pro 7 Plus specs leaked

meizu pro 7 plus

Chinese smartphone manufacturer Meizu is all set to launch its flagship smartphone Meizu Pro 7 Plus at an event in China tomorrow (July 27). As per the image leaked on Weibo, the Meizu Pro 7 Plus will sport a 5.7-inch QHD display and will be powered by MediaTek Helio X30 processor. The rear of the device will house a secondary display along with dual rear cameras. The smartphone will have two 12MP cameras at the back with RGB and monochrome sensors. It will also have a 16MP front camera for selfies. The device will run Android 7.0 Nougat operating system based on the Flyme OS of the company. The smartphone will offer 6GB of RAM and will incorporate company's 25W mCharge tech which will offer fast charging to the device.

0 comments: