![]() ![]() Don’t be scared that the new folder disappears, because this is supposed to happen. ![]() Step 8: Run Locker.bat again and press Y. Step 7: Place important or personal files inside the new folder. Step 6: Run the new batch file so that the Private folder is created. Write down the extension as well and make sure to select All Files type in the save dialog. Step 5: Save the file with the name Locker.bat. goto CONFIRM :LOCK ren Private "HTG Locker" attrib +h +s "HTG Locker" echo Folder locked goto End :UNLOCK echo Enter password to unlock folder set/p "pass=>" if NOT %pass%= PASSWORD_GOES_HERE goto FAIL attrib -h -s "HTG Locker" ren "HTG Locker" Private echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Private echo Private created successfully goto End :End Step 4: Replace the PASSWORD_GOES_HERE string with the password you want to use. Step 3: Paste the following code inside your new document:Ĭls OFF title Folder Private if EXIST "HTG Locker" goto UNLOCK if NOT EXIST Private goto MDLOCKER :CONFIRM echo Are you sure you want to lock the 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. Names are of no importance so you can use anything. Step 2: Use the context menu to create a new plain text document. Step 1: Create a folder anywhere on your computer or even a removable disk drive. Enough talk though, here’s what you need to know: Lock a folder in a matter of seconds It might take a little more time than downloading a dedicated application, but this way you’re sure system registries remain intact and you’re never at risk of exceeding a trial period, crash your computer due to compatibility issues, or who knows what else. Since everything relies on a handful of well-written lines of code, these can also be used to create a password-protected folder. Sure, you can use third-party applications to add an extra layer of security, but isn’t it better to work with what Windows puts at your disposal? Sharing a computer with someone might not seem like a good idea, because you sure have some files besides browsing history that you don’t want anyone to see. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |