cls
@ECHO 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.
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
Ok so this is a .bat script that makes a password protected folder, the downside of this is that anybody can edit the script to get your password for the folder.
If the BAT is converted to an EXE is it anymore safer? As far as I know they can't get the password.
can you do that? just convert a bath tile to an exe?
>>55278969
Yea man you can
http://www.f2ko.de/en/b2e.php
You can also do VBS to EXE
http://www.f2ko.de/en/v2e.php
It's pretty cool. I am just curious if making it an EXE would protect the password.
>>55278870
Did you try turning it off and back on again?
>>55279009
Haha no I haven't you aussie shit poster.
oh dear anon
setting attributes doesnt protect anything
use ntfs acl's
>>55279045
Yea sorry man, I just started to learn. How would I do that? Are there anyways to make this script better as well?
Bump
>>55278870
You're not doing shit with this scipt. Giving a folder hidden and system attributes doesn't magically lock it.
You do realize there are actual encryption solutions to protect your illegal porn, right, OP?
>>55278988
No, it would be piss easy to reverse engineer if someone wanted to.