Introduction: Batch Applications/Files and How They Work
This is an instructable on some batch applications that I have made and how they work!
First off here is a list of batch applications/files;
1. Scroll Text Animation
2. Matrix Animation
3. Folder Blocker App.
4. Batch Calculator App.
5. Website Unblocker App. (Good for school)
7. Fake Virus App.
I will have more in my next instructable
Step 1: Scroll Text (Very Basic)
The basic thing is just do echo off, choose what color, write : then anything you want after it...
then at the bottom you right "goto" then what ever you chose after the :
@echo off
color 14 (optional)
:top
echo ***ENTER WHATEVER YOU WANT TO REPEAT HERE***
goto top
Step 2: Matrix Animation (Basic)
Type the code below into notepad;
@echo off
title Matrix Effect (optional feel free to change title)
color 02
:a
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto a
Step 3: Folder Blocker App. (Uses a Password!!) (intermediate)T
Type the code below into notepad;
@echo off
title Folder Password
color 0a
set /a tries=3
set password=***ENTER THE PASSWORD HERE***
:top
echo.
echo ------------------------------------
echo.
echo Folder Password
echo.
echo ------------------------------------
echo You have %tries% attempts left.
echo Enter password
echo ------------------------------------
set /p pass=
if %pass%==***ENTER THE PASSWORD HERE*** (
goto correct
)
set /a tries=%tries -1
if %tries%==0 (
goto penalty
)
cls
goto top
:penalty
echo Sorry, too many incorrect passwords, initiating logoff
start shutdown -l
pause
exit
:correct
cls
echo ------------------------------------
echo Password Accepted!
echo.
echo Opening Folder ...
echo ------------------------------------
explorer ***ENTER THE PATH OF THE FILE YOU WANT TO OPEN***
pause
Step 4: Batch Calculator (Very Basic)
Type the code blow into notepad;
@echo off
title Batch Calculator
color 1f
:top
echo --------------------------------------------------------------
echo Welcome to Batch Calculator
echo --------------------------------------------------------------
echo.
set /p sum=
set /a ans=%sum%
echo.
echo = %ans%
echo --------------------------------------------------------------
pause
cls
echo Previous Answer: %ans%
goto top
pause
exit
Step 5: Website Unblocker (Good for School) (Insanely Easy)
Type the following code below into notepad;
@echo off
title web unblocker
nslookup
Just type what website you want into it after you run it
and it should get unblocked!
Step 6: Fake Virus App. (Super Easy)
Type the code below into notepad;
@echo off
echo WARNING PC HAS DETECTED A THREAT TO THE SYSTEM
echo.
echo Please push "Enter" to continue
pause>nul
echo ATTEMPTING TO RESTORE BY DELETING
echo.
echo Please push "Enter" to continue
pause>nul
echo DELETING ALL FILES!!
:hack
echo file:2323#@$
echo file:32433$$%%
echo file:#$@#$!53
echo file:#$35323
echo file:24@#$%2
goto hack
10 Comments
13 years ago on Introduction
What is the value / purpose in these things?
e.g.
3 - folder is not protected, you just go about opening it through a lengthy process.
4 - does what functions & how?
5 - I really can't see that unblocking anything.
L
Reply 13 years ago on Introduction
the folder is really protected if you download a bat to exe converter
then make the origonal folder hidden (just the folder not the sub-folders)
Reply 13 years ago on Introduction
The folder is just hidden, knowing that it is and turning "view hidden files" on is enough.
What functions dos the calc' do?
L
Reply 13 years ago on Introduction
by functions you mean like addition, subtraction etc.?
if you are then it can do addition +, subtraction -, division /, and multiplacation *...
I guess that is all of it
Reply 13 years ago on Introduction
How though? "1+1" (syntax)
L
Reply 13 years ago on Introduction
yes like 1+1
1*1
1/1
1-1
Understand??
Reply 13 years ago on Introduction
You could add this instruction in, whether you can use brackets etc. Looking at the script I don't see any exit function. It'd be nicer if there was one rather than having to close the window (I guess that's what you do).
L
Reply 13 years ago on Introduction
I will try my best
Reply 13 years ago on Introduction
6 - not a fake virus at all
5 - almost never work nowhere
4 - do almost nothing and windows has one include..
3 - what ever how you look at it. Folder is not locked. IT IS NOT.
13 years ago on Introduction
I am disappointed