Using batch isn't a great idea. I can make a Visual Basic File Hider so people can hide porn videos, hacks, etc.
When you open the .bat or .exe, whichever you set it as, the location "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" will be displayed in the input/output box. Although the folder is invisible, if you type that into control panel it will open the folder. If you want an actual vault, it needs to be coded, and not just in DOS commands.
Originally Posted by FoSho'
/bump
Using batch isn't a great idea. I can make a Visual Basic File Hider so people can hide porn videos, hacks, etc.
Go for it!
Originally Posted by gunman353
When you open the .bat or .exe, whichever you set it as, the location "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" will be displayed in the input/output box. Although the folder is invisible, if you type that into control panel it will open the folder. If you want an actual vault, it needs to be coded, and not just in DOS commands.
Go for it!
A program is better then a .bat so :P
Originally Posted by Dick12
Put the hacks in a folder called "Personal"
Open Notepad and Type the following
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%==passwordhere 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
CHANGE THIS FIRST! PUT YOUR CUSTOM PASSWORD WHERE IT SAYS "if NOT %pass%==passwordhere goto FAIL"
Click save as, and save it as "Locker.bat"
Put the hacks or whatever inside that folder you named "Personal"
Once that is done. Click on the File you just created named "Locker.bat"
It will say "Are you sure u want to lock the folder(Y/N)
Put "y" (yes)
Once that is done. The folder will disappear and will not be able to be located.
To unlock it. Open Locker.bat again, and it will say "Enter password to Unlock folder"
Put your password and the folder named "Personal" will appear back on.
-Video removed by Blaze as it contained advertising-
If nothing else, please explain how to convert the .bat to a .exe for the beginners. With .bat files you can just click "edit" and the password is shown in the file. Executable files are a bit harder to view.
Originally Posted by gunman353
If nothing else, please explain how to convert the .bat to a .exe for the beginners. With .bat files you can just click "edit" and the password is shown in the file. Executable files are a bit harder to view.
Like an extention spoofer?
Originally Posted by FoSho'
Like an extention spoofer?
When I was younger I used the method that he posted, but with modifications. I used a program called bat2exe to convert the file; I don't know the logistics of how it works though.
I don't want to release how I am currently storing files, but I am looking for a new method.