具體步驟如下:
1-創(chuàng)建一個新的文件夾(名字寫你喜歡的)
make a new folder ( name it as you like )
2- 點擊進入這個空文件夾并且創(chuàng)建一個“TXT”文本文檔,然后把以下的紅色命令文件拷貝到這個文本文檔當(dāng)中
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=>”
if NOT %pass%== password here goto FAIL
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”(我已用 綠色標(biāo)出)刪除并輸入你想要的密碼
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”。存放 位置就是你一開始創(chuàng)建的那個文件夾
After that make 'save as' & name as (locker.bat )
不會創(chuàng)建“bat”文件?好吧,我教你,當(dāng)你要另存文件的時候,360木馬專殺在左上角有個“文 件”打開,第四行有個“另存為”,打開,存放位置就是你一開始創(chuàng)建的那個文件夾,文件名就寫成“locker.bat”,保存文件不要選“TXT”文本文 檔,選擇“所有文件”。ok啦。
5- 現(xiàn)在回到文件夾內(nèi),你會看到一個“LOCKER”的bat 命令
Now back to the folder & u will find a ( LOCKER ) commanding.
6-點擊它,會出現(xiàn)一個新文件夾“Private”
Click on it & u will find a new folder (Private )
7- 好了,現(xiàn)在,拷貝或移動你想要鎖定的文件到這個文件夾中(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