Fun and Useful Batch Files
by anonymousoutsidethematrix in Circuits > Computers
391 Views, 0 Favorites, 0 Comments
Fun and Useful Batch Files
Click here to see my video of what these batch files look like!
Making a Batch File!
Making a batch file is VERY easy. And if you don't know how to write code, you can find scripts online (from trusted sources).
Step 1: Open Notepad!
Step 2: Type in code
Example:
"@echo off
:top
echo %random% %random% %random% %random% %random% %random% %random% %random%
goto top"
(This code just opens up what looks like a matrix. ":top" is the lable for that specific section of the code. "echo %random% %random% %random% %random% %random% %random% %random% %random%" is what the code is telling to be shown. "echo" being the "say this" part and "%random%" being a random number sequence. "goto top" is the code telling the computer to go back to the ":top" section and restart.)
Step 3: Click "Save as"
Step 4: Give file a name followed by ".bat"
Example:
(ExampleName.bat)
Step 5: Before you save, under the "Save as type" just under where you put the name, click "all files"
Step 6: Open and enjoy!
Password Locker!
Do everything "Step 1" says but use this code and REMOVE QUOTATIONS FROM BEGINNING AND END!!!
"@echo off
:Password
cls
set input=
set /p input= Enter Password:
if %input%==123 goto YES
if not %input%== 123 goto NO
:NO
echo INCORRECT PASSWORD
pause
goto Password
:YES
cls
echo
Passwords echo ------------------------------------------
echo.
echo.
echo 1) Email
echo 2) Snapchat
echo 3) Facebook
set input=
set /p input= Please Select:
if %input%==1 goto Email
if %input%==2 goto Snapchat
if %input%==3 goto Facebook
pause
:Email
cls
echo FAKE.EMAIL.1@EMAIL.COM FAKEpass123
echo FAKE.EMAIL.2@EMAIL.COM FAKEpass123
echo.
echo.
echo 1) Back To Main Menu
echo 2) Exit
set input=
set /p input= Please Select:
if %input%==1 goto YES
if %input%==2 goto Exit pause
:Snapchat
cls
echo FAKE_USER FAKEpass123
echo FAKE_USER FAKEpass123
echo 1) Back To Main Menu
echo 2) Exit
set input=
set /p input= Please Select:
if %input%==1 goto YES
if %input%==2 goto Exit pause
cls
echo FAKE_LOGIN.1@EMAIL.COM FAKEpass123
echo FAKE_LOGIN.2@EMAIL.COM FAKEpass123
echo 1) Back To Main Menu
echo 2) Exit
set input=
set /p input= Please Select:
if %input%==1 goto YES
if %input%==2
goto Exit
pause
:Exit
cls
exit"
Any where you see :"random word", that is a specific section of the code. Like chapters in a book.
If you want to set your own PASSWORD, look under ":Password". You will see "if %input%==123 goto YES
if not %input%== 123 goto NO", just change both spots that say "123" to your own custom pass word. This is CASE SENSITIVE!
Web Bomb!
Do everything "Step 1" says but use this code and REMOVE QUOTATIONS FROM BEGINNING AND END!!!
"@echo off
SET BROWSER=chrome.exe
SET WAIT_TIME=1
START %BROWSER% "example.com"
START %BROWSER% "example.com"
START %BROWSER% "example.com"
START %BROWSER% "example.com"
START %BROWSER% "example.com"
START %BROWSER% "example.com"
pause"
If you want it to loop nonstop, use this code!
"@echo off
:top
SET BROWSER=chrome.exe
SET WAIT_TIME=1
START %BROWSER% "example.com"
START %BROWSER% "example.com"
START %BROWSER% "example.com"
START %BROWSER% "example.com"
START %BROWSER% "example.com"
START %BROWSER% "example.com"
goto top"
Change the spots that say"example.com" to any custom url you wish! This will cause the computer to lag until it is stopped. To stop this, simply shut down your computer and turn back on. Does not cause any damage.
Folder Bomb!
Do everything "Step 1" says but use this code and REMOVE QUOTATIONS FROM BEGINNING AND END!!!
"@echo off
md %random%"
Just copy "md %random%" or "md customfoldername" and put it on a new line in notepad before you save to have how ever many folders pop up that you want.
If you want it to loop nonstop, use this code!
"echo off
:top
md %random%
goto top"
This will cause the computer to lag until it is stopped. To stop this, simply shut down your computer and turn back on. Does not cause any damage.
CIA Hack Prank
Do everything "Step 1" says but use this code and REMOVE QUOTATIONS FROM BEGINNING AND END!!!
@echo off
echo.
echo.
color a
title CIA HACK
cls
echo ---------------------Hacking CIA Accounts----------------------------
ping cia.gov>nul
echo Gathering Information...
ping cia.gov>nul
netstat -a
ping cia.gov>nul
ping cia.gov>nul
echo _____________________
echo Information gathered
echo _____________________
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%
ping cia.gov>nul
ping cia.gov
ping cia.gov>nul
:C
echo _________________
echo Hacked:
echo Username:GinaHaspel@cia.gov
echo Password:%random%%random%
echo _________________
echo Please register
echo.
set /p user=Username:
set /p pass=Password:
echo Your account %user% has been created.
echo.
pause
:A echo Please Login.
echo.
set /p u=Username:
set /p p=Password:
if %u%==%user% if %p%==%pass% goto B
echo Invalid Username or Password echo. pause goto A
:B
echo ______________________
echo Logged in sucsessfully
echo ______________________
ping cia.gov>nul
echo View files [1]
echo Logout [2]
SET INPUT= SET /P INPUT=Please select a number:
IF /I '%INPUT%'=='1' GOTO D
IF /I '%INPUT%'=='2' GOTO C
pause
:C echo Logged Out
ping cia.gov>nul
exit
1 Second Shutdown
This will cause the computer to shut down 1 second after this is opened. It will not cause any damage. Just turn the computer back on.
"shutdown -s -t 1 -c "HAHAHAH I PRANKED YOU!!!" "
exit"
The "-t" is the time delay. you can change the "1" to any other number. the number is seconds.
Example:
-t 300
(if you change the the "-t" to 300, the computer will shutdown in 300 seconds (5 minutes))
If you make this with a higher delay time and accidentally click it, go to your start search bar and type in "CMD". once the command window opens up, type "shutdown -a" and it will abort the shutdown.
The "-c" is the note that will show when it tells the victim that their computer will shut down. To make a custom note just change whats inside the quotations after the "-c".
Enjoy!
I hope you enjoy these fun batch files!