What Kind of Reality Check Do I Need Quiz
Q&A for How to Lock a Folder Using a Batch File
Coming soon
Search
-
QuestionHow do I re-lock the file?Community AnswerDouble-click the file again. It will ask for a password. Enter the password, and you're done!
-
QuestionHow do I reset the password?Community AnswerRight-click on the .bat file. After doing so, click 'edit.' You can change the code through this.
-
QuestionMy folder will not re-lock when typing Y. What do I do?Community AnswerAre you sure you're typing everything correctly? What Windows version are you using?
-
QuestionCould an unauthorized person right click on locker.bat and edit the password?Community AnswerYes. They can edit the password easily as long as they know the batch programming language.
-
QuestionHow do I remove a batch file if I locked a folder?Community AnswerIf the folder is system, use the attrib -s /f1/folder command to delete the system attribute.
-
QuestionHow do I copy the code from a batch file?Community AnswerRight click and press Edit in the menu and in Notepad, Right click and click Select All then Right click again then Copy this time.
-
QuestionHow do I automatically lock the batch file?Community AnswerYou can't lock the batch file. But you can make it read-only via its properties.
-
QuestionHow do I create an application with no software?Community AnswerYou can't, the software is what you use to write the code, You can use CMD as a more direct way, but CMD is still software.
-
QuestionHow do I get rid of a "private.bat" file I created? I've tryed to Delete from the folder I saved it in but the file keeps re-installing itself every time I use my Photos App.CageyCatTop AnswererIt could be that "Photos" uses a file of that name. Try this. Write down the name of the folder where the file sits now. Copy "private.bat" to a new folder on a thumb drive. Then, right click and select rename, such as "private_old.bat". Try opening "Photos" App and see if that program remakes a "private.bat" file. Whether it does or not, you should be safest to copy the _old version to the same folder on that thumb drive-- just in case.
-
QuestionIf the password can be changed while the folder is locked, how is it secure?Tony VoversCommunity AnswerThis small program is just hiding the files in a hidden folder. It is a nice little tool to give a minimal level of security on personal files. In fact, there are many ways to "break" the process, including being able to physically find the files with Windows Search if the file name is known. However, for a top-level hiding or protection, it does a fine job and does exactly what the author has suggested.
-
QuestionIf I change the *.bat file back to *.txt file format by renaming, I can then open the txt file and see the code, including the password. How do I fill this gap? Maybe I am missing something?Tony VoversCommunity AnswerActually the batch file can be edited directly without renaming, right click/edit making the password visible in the file. This tool is just a file hiding batch file. There is little to no security behind it, but it keeps casual prying eyes from your directory.
-
QuestionCan I have the same bat file in several folders that I want to lock separately?Tony VoversCommunity AnswerYes, just copy the batch file to a new directory and you will create a new Locker folder in that location. If you are feeling brave, you can edit also the folder "Locker" to something else inside the batch program but need to change several lines of the batch file.
-
QuestionI locked my file using this and forgot my password, How do I recover my file?Tony VoversCommunity AnswerOpen the batch file with Notepad and search for "if NOT %password%==" your password will be the text directly after that before "goto FAIL"
-
QuestionCan I change the folder name to something other than "locker"?Tony VoversCommunity AnswerYes, but you need to change it in several places in the batch file. The act of "locking" is simply to rename the Locker folder to a hidden folder on the PC, and then unlocking it renames the folder back to "Locker."
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit