re-create the batch file by copying the following and pasting it into that folder you created.
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%== test1 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
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>
ok i was thinking after i finally fixing my from being infected nasty trojan. i thought what if i password protected my system 32 folder (like that would stop a hacker). I wanted to test it out incase i messed up and brick my pc. I tested it out on my documents folder (don't know why i didn't make a new folder) and copied a script from online in not pad like this
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
and saved it as a .bat. when executed it would ask if i wanted to password protect a folder. i pressed yes and it created a private folder i moved the my document folder into the private folder and re-ran the .bat to password protect the private folder. i entered in a simple password called test1. when i applied the password it made the private folder disappeared as expected. but when i went to open it by running the .bat file and entered the password test1 it just closed the the .bat and did not open the folder. now the folder is inacessable and to make matters worst i deleted the .bat thinking it would fix it. i am using XP by the way and i really need to finish typing my report on Edgar Allan poe by monday!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic