How is having your own password protected folder lock that will hide your personnel files and folders and everything you want to hide from other users of your PC or USB Drive/Hard Disk. There are other programs like Winrar. But you can not hide Rar file. But using following easy steps you will make your folder password protected and also hide it.
Let's Start.
1. Create a notepad document and copy paste following code into it.
Change YOURPASSWORD in above code to your password.
Now "Save As" this file in batch file format. e.g. Jon.bat or Lily.bat
You will get following MS-Dos Batch file
2. Double click on that file and it will create a folder " Locker". Transfer your data to this folder. Again double click on MS-Dos Batch file . It will ask for Are You Sure u want to lock the Folder(Y/N)
Type Y and press Enter. The folder will be hidden. When you want the folder again double click on MS-Dos Batch file. It will ask for Password. Type the password you entered in step 1 and now you can view folder. Use same method to hide files on your USB drive.
Warning: This is not a 100% safe method.
Let's Start.
1. Create a notepad document and copy paste following code into it.
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%==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 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%== YOURPASSWORD 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
Change YOURPASSWORD in above code to your password.
Now "Save As" this file in batch file format. e.g. Jon.bat or Lily.bat
You will get following MS-Dos Batch file
2. Double click on that file and it will create a folder " Locker". Transfer your data to this folder. Again double click on MS-Dos Batch file . It will ask for Are You Sure u want to lock the Folder(Y/N)
Type Y and press Enter. The folder will be hidden. When you want the folder again double click on MS-Dos Batch file. It will ask for Password. Type the password you entered in step 1 and now you can view folder. Use same method to hide files on your USB drive.
Warning: This is not a 100% safe method.
0 comments:
Post a Comment