谁在沈阳长吉物流工作:最好的方法不用任何程序就可锁住和隐藏你的文件

来源:百度文库 编辑:九乡新闻网 时间:2024/07/05 17:51:14

电脑知识 2010-04-18 10:46:02

Best Way To Lock Your Folder Without Any Programs(最好的方法不用任何程序就可锁住和隐藏你的文件)

1-创建一个新的文件夹(名字写你喜欢的)

make a new folder ( name it as you like )

2- 点击进入这个空文件夹并且创建一个“TXT”文本文档,然后把以下的红色命令文件拷贝到这个文本文档当中

inside this folder make a ( TXT ) file & copy inside it this:

Quote: cls

@ECHO OFF

title Folder Private

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 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 "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=>"

attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDLOCKER

md Private

echo Private created successfully

goto End

:End

3-然后到23行去,找到这个词“password  here”(我已用 绿色标出)删除并输入你想要的密码

after u copy the Commanding go to line ( 23 ) u will find this word : password here (Change it with ) any password u like.

4-然后另存为一个“bat”文件,名字叫“locker.bat”。存放 位置就是你一开始创建的那个文件夹

After that make ‘save as’ & name as (locker.bat )

不会创建“bat”文件?好吧,我教你,当你要另存文件的时候,在左上角有个“文 件”打开,第四行有个“另存为”,打开,存放位置就是你一开始创建的那个文件夹,文件名就写成“locker.bat”,保存文件不要选“TXT”文本文 档,选择“所有文件”。ok啦。

5- 现在回到文件夹内,你会看到一个“LOCKER”的bat 命令

Now back to the folder & u will find a ( LOCKER ) commanding.

6-点击它,会出现一个新文件夹“Private”

Click on it & u will find a new folder (Private )

7- 好了,现在,拷贝或移动你想要锁定的文件到这个文件夹中(Private ),然后点击“locker.bat”命令,然后它会打开并且询问你是否想要锁定你希望锁定的文件?Y/N ?

Ok ,, now copy what u want in it & after that go to ( locker ) by click on it , it will open and ask you want lock your folder? Y/N ?

8-输入“Y'是同意,“N”是不同意

Type Y

9- 如果你想要解锁你的文件,去到“locker.bat”双击然后输入密码。然后你又会看到“private”文件夹

If you want UNLOCK your folder ,go to (locker) & type your pass and you will see your private folder