Hi nEwBie's,
here in this new newbie tips and tricks, i will show you how to protect any folder with your own password and best part is that you don't need to use any software for this.
so, here i'm using a trick that based on Batch Programming. and this newbie's trick will on all major Microsoft operating system i.e Window Vista,Window xp, Window 7,Window 8 and Window 10.
Following is steps to create a Lock Folder
Step 1 : Open a notepad and copy and paste below code.
Step 2:
Save the file with newbie.bat ( .bat is extension ) ie. must be same as .bat
Step 3: Now double click on that folder and after that it will ask to enter password (default password is suraj) and then new folder will be created with the name of MyFolder.
Step 4:
You need to transfer all your important files in this folder and good to go.
Step 5:
After transferring all the data you need to double click on newbie.bat .it will open a cmd. you need to type y. and then MyFolder will be hide from the screen
Step 6:
To access that folder double click on newbie.bat and then enter thepassword i.e suraj (you can change password by replacing suraj with your own password).
here in this new newbie tips and tricks, i will show you how to protect any folder with your own password and best part is that you don't need to use any software for this.
so, here i'm using a trick that based on Batch Programming. and this newbie's trick will on all major Microsoft operating system i.e Window Vista,Window xp, Window 7,Window 8 and Window 10.
Following is steps to create a Lock Folder
Step 1 : Open a notepad and copy and paste below code.
cls
@ECHO OFF
title surajbahadur.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
: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 MyFolder "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%== suraj goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
Step 2:
Save the file with newbie.bat ( .bat is extension ) ie. must be same as .bat
Step 3: Now double click on that folder and after that it will ask to enter password (default password is suraj) and then new folder will be created with the name of MyFolder.
Step 4:
You need to transfer all your important files in this folder and good to go.
Step 5:
After transferring all the data you need to double click on newbie.bat .it will open a cmd. you need to type y. and then MyFolder will be hide from the screen
Step 6:
To access that folder double click on newbie.bat and then enter thepassword i.e suraj (you can change password by replacing suraj with your own password).
No comments:
Post a Comment