Should be an easy fix.

by Edward ODaniel - 11/17/12 7:51 PM

In Reply to: I messed up bad made folder inacessable! by thebic4

re-create the batch file by copying the following and pasting it into that folder you created.

title Folder Private
if EXIST "HTG Locker" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
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.
ren Private "HTG Locker"
attrib +h +s "HTG Locker"
echo Folder locked
goto End
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== test1 goto FAIL
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Private
echo Private created successfully
goto End

NOTE that I bolded the one change to make use of the test1 password you say you used. You could have just as easily gained access by typing PASSWORD_GOES_HERE since you did not EDIT the batch file as the instructions stated to perform the following after copying their script into notepad:

The next step is to change the PASSWORD_GOES_HERE<i><b> text to whatever
you'd like your password to be. Don't use an easy-to-guess password.

Now we need to save the text document.</b></i>