Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
appreciate some help
#1
oK so i found this tutorial on youtube that teaches you how to make a batch file that makes a folder invisible/untouchable, and in order to access the folder you need the password(which you type in the batch file)

here's the code
Code:
cls
@ECHO OFF
title Folder Personal
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Personal goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Personal "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set /p "pass=>"
if NOT %pass%==password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Personal
echo Folder unlocked successfully
goto End
:FAIL
echo Invalid password
goto UNLOCK2
:FAIL2
echo Invalid password
goto end
:MDLOCKER
md Personal
echo Folder created successfully
goto End
:UNLOCK2
echo Last chance to enter correct password to unlock folder
set /p "pass=>"
if not %pass%==password goto FAIL2
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Personal
echo Folder unlocked successfully
:End

ok so here's my problem.
I made the batch file on my desktop, and put all my important files into it(not porn), then put the batch file into another directory,
and now i can't access my important files because they stay invisible/untouchable.
Wacko

and i was just wondering if i can retrieve them. If anyone can help.

Big Grin
Reply
#2
Make a new batch in the same folder that the secret folder is hidden, and put this

Code:
@echo off
attrib -s -h "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
rename "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" "Secret Folder"
del %0
Reply
#3
First of all, if you want to hide a folder or put a password on it you should just follow my tutorial here or just zip it up in winrar and make a password for it.

For your problem, put the batch file on your desktop and then try running it.
Reply
#4
(05-31-2010, 09:49 AM)Cida Wrote: Make a new batch in the same folder that the secret folder is hidden, and put this

Code:
@echo off
attrib -s -h "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
rename "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" "Secret Folder"
del %0
Thanks, i think i see what the problem was now.
Big Grin
Reply
#5
Just a tip, becareful about batch codes you get on youtube, some contain code that can destory or maliciously download a link and run a virus.
Reply
#6
(05-31-2010, 10:24 AM)Infinite Wrote: Thanks, i think i see what the problem was now.
Big Grin

Yeah, I've made a batch folder locker/hider more than once before.

http://pastebin.com/NsuUkV5r

Folders should be stored in the root of your C:, like C:\Secret, and when hidden and locked, they should be in C:\Windows\Sys. The pass is stored encrypted in the registry.
Reply
#7
You could try reverting the pc to before it was added but some elses tutorial could be better.
Reply
#8
(05-31-2010, 08:21 PM)Cida Wrote: Yeah, I've made a batch folder locker/hider more than once before.

http://pastebin.com/NsuUkV5r

Folders should be stored in the root of your C:, like C:\Secret, and when hidden and locked, they should be in C:\Windows\Sys. The pass is stored encrypted in the registry.

I actually never got my files back because they were somehow deleted,
I assumed that, so I was wondering if they still existed and were taking up space, but I solved the problem. thanks anyways.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)