Introduction: Lock Folder Using Voice

About: I'm crazy about inventing new things..... and thanks a lot to instructables website which helped me to share my ideas...

Hi there,

I'm back with another awesome instructable i.e Lock folder using voice..

what I am going to do is ... use windows speech recognition which is inbuilt in windows OS. And I'm using windows speech recognition macros to enhance its features... and using batch file to hide or un-hide the folder using voice...



So lets get started....!!!

Step 1: Setup Windows Speech Recognition

Start > windows speech recognition

it just takes some steps and sometime to teach your computer to understand your voice..

Step 2: Setup Windows Speech Recognition Macros

Just google the windows speech recognition macros and download it....

then install it ....

that's it...

Step 3: CMD Coding

copy the code into notepad and save it as hide.bat and don't forget to select the all files in the save as type option while saving it.

CMD code:-

@ECHO OFF

d:

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST hiddenfolder goto MDMyFolder

:MDMyFolder

md hiddenfolder

goto LOCK

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

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto End

:UNLOCK

attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

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

:End

Step 4: Connecting Macros to Batch File..!

  • right click on the windows speech recognition macros icon in the system tray.
  • select new speech macro
  • then select run a program
  • after that you will see enter the phrase input box... this is what your password is... I have used "warmachinerox" becoz it is the password used in iron man movie :)
  • then click on browse and select the hide.bat file ...
  • if it says any error ...just right click onthe icon in the system tray and security > create signning certificate..
  • that's it

Step 5: Working

when you say the password warmachinerox , it hides the hiddenfolder

and say it again to un-hide..!!!!


......................THANK YOU............................

....ANY SUGGESTIONS COMMENT PLZ ...