Password Protect Any Folder Without Any Software dear friends,
assalam o alaikum and hello, In my previous post i have taught you to hide files using software "easy file locker" if you missed that mail then you can request this as well. but today's trick is very much cool! In this tutorial i will show you interesting and useful trick to password protect folder without using any software using batch file programming. This trick will work on all windows platform (Win XP, Win 7). Follow below tutorial to learn this trick. How To Lock Folder ? use the file lock.bat which i wrote and you can download it from the following link: https://dl.dropboxusercontent.com/s/zw9657lgluzqhhz/lock.bat?token_hash=AAGafbbeOX5MgMDHk1P-VH4xvmXjMwa59I-kvriycYXsZA&dl=1 for those friends of mine who want to learn that how this file was written using which code then following is the code written and they can look at it. the following line of code and first two steps are for advanced programmers. for beginner users , just download the file lock.bat from the above link and use it as described in the steps for all , starting from step 3, 4 and so on. steps for advanced users 1. Open Notepad and Copy code given below into it. block quote cls @ECHO OFF title UmairIjazTheScholar if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST UmairTheScholar goto MDUmairTheScholar :CONFIRM echo Are you sure 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 UmairTheScholar "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 Your Secure Folder set/p "pass=>" if NOT %pass%== umair goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" UmairTheScholar echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDUmairTheScholar md UmairTheScholar echo MyFolder created successfully goto End :End block quote end 2. Save the notepad file as lock.bat (.bat is must) steps for all 3. Now double click on lock.bat and a new folder will be created with name UmairTheScholar in the location where lock.bat is placed. 4. Copy all your data you want to protect in that New folder 5. Now double click on lock.bat and when command promp appears Type Y and press enter. the message is written on the screen which you can read using jaws cursor but it is not necessarry. it is confirmation message so Y for yes serves the purpose. 6. Now your secret folder UmairTheScholar will be hidden from the view. to access that folder double click on lock.bat file again. 7. It will ask for password. enter the password "umair" without quotes and you are done. note: again asking message for password is written on screen and pc cursor does not read this. as you know that what you are going to do so just write the password and hit enter no need to do anything else. How To Further Secure ? You might be thinking that anyone can access the password by opening that lock.bat file in Notepad or any other text editor. To make it more secure hide lock.bat in some secure location after following the above tutorial To access the secured file double click on lock.bat. I would suggest copying lock.bat file into Pendrive and copying it into your computer whenever you required to access to your protected files. how was the trick? share your feedback on that. thanks! -- " Don't let a little dispute injure a great friendship" Umair Ijaz, Scholar for Scholars webpage: www.lcddp.org/umair skype: umair.ijaz44 facebook: http://facebook.com/umair.ijaz.33 twitter: UmairTheScholar yahoogroup: scholars_learners-subscr...@yahoogroups.com Register at the dedicated AccessIndia list for discussing accessibility of mobile phones / Tabs on: http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in Search for old postings at: http://www.mail-archive.com/accessindia@accessindia.org.in/ To unsubscribe send a message to accessindia-requ...@accessindia.org.in with the subject unsubscribe. To change your subscription to digest mode or make any other changes, please visit the list home page at http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in Disclaimer: 1. Contents of the mails, factual, or otherwise, reflect the thinking of the person sending the mail and AI in no way relates itself to its veracity; 2. AI cannot be held liable for any commission/omission based on the mails sent through this mailing list..