Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
How
To Protect A
Folder
By Password

Without Using Any
Software
Open Notepad



cls



@ECHO OFF



title My Secret Locker



echo




Welcome To My World

If EXIST "Control Panel....


:CONFIRM



echo Are you sure to lock this folder? (Yes/No)



set/p "cho=>"



if %cho%==YES goto LOCK



if %cho%...


:LOCK



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



attrib +h +s "Control Panel.{21EC2020-3AE...


:UNLOCK



echo Enter Password To Unlock Your Secret Locker



set/p "pass=>"



if NOT %pass%== 7448264 goto FAIL

...


:FAIL



echo Invalid password



goto end



:MDGift



md Gift



echo Gift created successfully



goto End
Copy Above Code


This is the code to make a folder private with a password without software.



When you copy all the c...


Now copy the documents, files, images, or anything which you want to secure
or hide or protect from others in this fold...


You can change the password from this code
if NOT %pass%== 7448264 goto FAIL



7448264 is the password which I set fo...
Upcoming SlideShare
Loading in …5
×

Protect Folders without using any Software

847 views

Published on

Protect any folder without using any external software.
The protected folder is invisible from others until the password is entered to unlock it

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this

Protect Folders without using any Software

  1. 1. How To Protect A Folder By Password Without Using Any Software
  2. 2. Open Notepad  cls  @ECHO OFF  title My Secret Locker  echo   Welcome To My World If EXIST "Control Panel.{21EC2020-3AEA-106908002B30309D}" goto UNLOCK If NOT EXIST Gift goto MDGift A2DD-
  3. 3.  :CONFIRM  echo Are you sure to lock this folder? (Yes/No)  set/p "cho=>"  if %cho%==YES goto LOCK  if %cho%==yes goto LOCK  if %cho%==no goto END  if %cho%==NO goto END  echo Invalid choice.  goto CONFIRM
  4. 4.  :LOCK  ren Gift "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"  attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"  echo Folder locked  goto End
  5. 5.  :UNLOCK  echo Enter Password To Unlock Your Secret Locker  set/p "pass=>"  if NOT %pass%== 7448264 goto FAIL  attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"  ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Gift  echo Folder Unlocked successfully  goto End
  6. 6.  :FAIL  echo Invalid password  goto end  :MDGift  md Gift  echo Gift created successfully  goto End
  7. 7. Copy Above Code  This is the code to make a folder private with a password without software.  When you copy all the code in notepad then save it with any name you want but while saving it remember to change its extension with .bat. For example if you are saving the file with name lock then type lock.bat .bat is the extension which is compulsory.  After saving it open this lock.bat file and a command prompt (cmd) window will open for a while.  Now a folder is created with the name ( Gift ).
  8. 8.  Now copy the documents, files, images, or anything which you want to secure or hide or protect from others in this folder.  After copying files , double click on lock.bat file to active the password to the folder. When you open lock.bat a new cmd window open and ask you Are you sure to lock this folder? (Yes/No)  Type yes to lock the folder.  The password of the folder is 7448264
  9. 9.  You can change the password from this code if NOT %pass%== 7448264 goto FAIL  7448264 is the password which I set for folder you can change it and just save it.  Now when you open lock.bat file folder will unlock with the new password. By – Ultimate Virus

×