Windows folder encryption (Otaku dedicated ... )

Source: Internet
Author: User

Encrypt the folder contents of the Windows system, the encrypted folder content can only be seen after the password has been entered. First on the code:

CLS
@ECHO OFF
title Folder Private
if EXIST "Locker" goto UNLOCK
if not EXIST Private goto Mdlocker
: CONFIRM
Echo is you sure-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 "Locker"
attrib +h +s "Locker"
Echo Folder locked
Goto End
: UNLOCK
echo Enter password to unlock folder
set/p "Pass=>"
if not%pass%== your password goto FAIL
Attrib-h-S "Locker"
ren "Locker" Private
echo Folder Unlocked successfully
Goto End
: FAIL
echo Invalid Password
Goto End
: Mdlocker
MD Private
Echo Private created successfully
Goto End
: End

Copy this code into a text editor, Notepad or editplus text editor, set the password, and save the suffix. bat.

Folder lock and Unlock, repeat the above steps.

Windows folder encryption (Otaku dedicated ... )

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.