• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

Simple Lock

Assaultz

Member
Im sick today, so i went and did something, I decided abit of batch today. Basically you can lock folders with password.

Belive me, it was pain to the ass to make it work. Actually it was so painful that i couldn't get it work. If you want to try your skills, here is an nice chance to show it by fixing this. :)

CODE :
[HIDE]
@echo off &title Lock Folder 0.1
call "%appdata%\settings.bat" &cls
color e
:begin
if NOT EXIST "%appdata%\settings.bat" goto :create
if NOT EXIST hidden goto MD
if EXIST "hide" goto unlocker
if EXIST hidden goto :locker

:create
set /p pass=Set new Password:
echo set /p pass=%pass% >>%appdata%\settings.bat
echo Password is stored at; %appdata%\settings.bat
echo.
PAUSE
goto :begin

:locker
echo Press any key to lock folder named "hidden"
echo In this directory.
pause>Nul
cls
ren hidden "hide"
attrib +h +s "hide"
echo Folder locked.
pause>nul
exit

:unlocker
set /p pass1=Enter Your Password to Unlock:
if %pass1% == %pass% goto :succes
exit
:succes
attrib -h -s "hide"
ren "hide" hidden
exit

:MD
MD hidden
goto :begin
[/HIDE]

Enjoy ;)
 
Im sick today, so i went and did something, I decided abit of batch today. Basically you can lock folders with password.

Belive me, it was pain to the ass to make it work. Actually it was so painful that i couldn't get it work. If you want to try your skills, here is an nice chance to show it by fixing this. :)

CODE :
***Hidden content cannot be quoted.***

Enjoy ;)
thank
 
General chit-chat
Help Users
  • No one is chatting at the moment.
      @ QM|T_JinX: if its not on here you can google that im sure the will be a download for it
      Back
      Top