Wednesday, June 8, 2016

How to Use LockingFolderCode

How to use this Locker_text_script

Do not compromise important files until successful test
Use a dummy folder to test out code.

Download Code and open with Word

Ctrl + H
Select Replace
Replace all “Label” for the desire folder e.g.(“Confidential”)
Replace “PassCode” e.g (“CodeRed01” or your PIN number)

Save as
Locate the folder’s destination
Name the file with your choice followed by text extension
e.g.(“confidential_script.txt”)

Open the text file e.g. open “confidential_script.txt”
Save as
For Type select “All Files *.* “
Name the file with your choice followed by batched extension
e.g.(“confidential_Key.bat”)
This creates the file-vault that will hold your folder

Open the created batched file e.g. open(“Confidential_Key.bat”) 
Command Window automatically opens and Folder is created
Command Window hides folder from view and closes-itself.

Before proceeding,
the text file can be used to recall password
move the text file somewhere else, or email to prevent easy hack.

***From now on use these steps***
Open batched file again e.g. open(“Confiential_key.bat”) & Enter Password
Put your confidential files into your now visible folder
Click batched file again to hide it, e.g. open(“Confidential_key.bat”) &
Enter  “ Y “
Folder is now hidden.


If the Folder in the .bat file is already in the same location, the .bat file will simply use that folder, instead of creating a duplicate, have this in mind when creating your first .bat file specially if you are new with this stuff. 

LockingFolderCode

cls
  @ECHO OFF
  title Folder Label
 if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
  if NOT EXIST Label goto MDLOCKER
 :CONFIRM
 echo Hide Folder  Label  (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, Choose Y or N
  goto RECONFIRM
 :RECONFIRM
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, Type Y or N or close window
  goto CONFIRM
 :LOCK
  ren Label "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  echo Folder Hided, this  Window will close
goto End
 :UNLOCK
 echo Password to show folder  Label
  set/p "pass=>"
  if NOT %pass%== PassCode goto FAIL
  attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Label
  echo Folder Unlocked successfully
  goto End
 :2ndTry
set/p "pass=>"
  if NOT %pass%== PassCode goto FAIL
  attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Label
  echo Folder Unlocked successfully
  goto End
 :FAIL
  echo Invalid password, Try Again or close window
  goto 2ndtry
 :MDLOCKER
md Label
  echo Label created successfully, Window will close
  goto End
 :End