Support Forums

Full Version: appreciate some help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
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.
(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
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.
(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.
You could try reverting the pc to before it was added but some elses tutorial could be better.
(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.