Instructables
loading
loading
Picture of 5 Cool Batch Files
In This instructable you will get 5 codes for 5 useful batch things

- Password Generator
- Password Protected Command Prompt
- Website Crasher
- Website Pinger
- PC Cleanup Utilities
 
Remove these adsRemove these ads by Signing Up

Step 1: Password Generator

Picture of Password Generator

This Batch generates number only passwords. You can choose from 1, 5. or 10 passowrds to show...all random

Code:

@echo off
:Start2
cls
goto Start
:Start
title Password Generator
echo I will make you a new password.
echo Please write the password down somewhere in case you forget it.
echo ----------------------------------------­-----------------------
echo 1) 1 Random Password
echo 2) 5 Random Passwords
echo 3) 10 Random Passwords
echo Input your choice
set input=
set /p input= Choice:
if %input%==1 goto A if NOT goto Start2
if %input%==2 goto B if NOT goto Start2
if %input%==3 goto C if NOT goto Start2
:A
cls
echo Your password is %random%
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
:Exit
exit
:B
cls
echo Your 5 passwords are %random%, %random%, %random%, %random%, %random%.
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
:C
cls
echo Your 10 Passwords are %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
1-40 of 58Next »
JackD85 days ago

I made the CmdLogin Love IT!!!!

GamingD23 days ago

doesn't work the website is still up when I did it

DDoSing take more effort. Here is a lesson about them. DDoSing with only one programme or device is useless if you are wishing to take down a website. The requests that you make at the websites Will not fill up the servers. You will either need more programs or several device
GamingD23 days ago

I put htttp://staggeringbeauty.com/ in and it doesn't work please help

JosephO11 month ago

This is an ILLEGAL thing to do, people. If police find out, it will not be fun for you.

Guys :-D!! i made this sick cool exe file :-D i promise you, its so good you want to laug ;-P, check it out here: http://tinyurl.com/pnnb5p6 i promise!!

I tryed the Web Site Crasher and it did not Crash the website

please help

thanks
radame (author)  tesladude1234 years ago
it takes a while...a doss atack is like 1 out of 10 chance that it will...luckly it does bcause I shut down a website for 3 hours...
XiloPac radame11 months ago

It is properly pronounced "DOS" or Denial Of Service. Not doss.

032827 XiloPac2 months ago

Actually child Dos is just a denial of service and ddos is a distributed denial of service attack

Can you give me a good website to crash

Here crash this one www.computherm-fabo.rs

xana radame4 years ago
i need a ip crasher version of this.

Sorry to tell you but you can't crash a website with a batch file

DylanS72 months ago

can anyone get me a proxy or batch file for facebook in school ??

HaydenS23 months ago

I dont think its right to use the website crasher. I used it once on a fun site but feel really REALLY bad. Sorry to everyone :(

testicleboy, you should never post this much crud on a forum page, it is completely unnecessary, put it in a file and upload it and then put the link!, on the page. Here, since you did anyways, i reduced your mountain and made some tweaks that i hope even you can follow simply. and it works BTW, Download it Here: http://www.2shared.com/file/KA4t9WIo/Loading.html , the download link is the small blue button at the bottom of the page it says download on it. GoodLuck :)
RW4 Code_Master3 months ago

The reason why people post code instead of the bat is because if you don't know if they made a malicious file or not and you don't want to accidentally autorun.

Hey everyone this is the Code_Master giving you an updated Pinger, i just took this guys pinger deleted all but like 3 lines and wala made it probably 340% better! ENJOY!
Download Link: http://www.2shared.com/file/EDw0o46c/Pinger.html
KingstonG5 months ago

Much easier, shorter code is

@echo off

echo ====================================

echo Welcome to Batch Password Generator!

echo ====================================

echo Input how many Passwords you would like!

echo 1 = 1 password

echo 2 = 5 passwords

echo 3 = 10 passwords

set /p input=

if %input% == 1 goto 1

if %input% == 2 goto 2

if %input% == 3 goto 3

:1

echo %random% ok, this is your passwrod! Write it down to Remember it!

pause

:2

echo %random% %random% %random% %random% %random% Ok, these are your passwords! Write them down to remember them!

pause

:3

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% Ok, these are your passwords! Write them down to remember them!

pause

Yh that is an easier way KingstonG thanks for the advice
excelanto5 months ago

Thanks for your valuable posting.I have collect more than information from your website. It is really wonderful blog. please added more than tips. i'm working in <a href="http://www.excelanto.com/">content management In Chennai </a>.Here providing very low price CMS , responsive webdesign and ERP. you have any more than information kindly make me call this number 044-42127512 or send your mail info@excelanto.com.

BrandonB26 months ago

you guys want a really helpful batch file? i've used this all the time, it makes a text file of all the files in whatever drive the file is in, the best part is it's extremely simple and easy to remember! and it saves the text file in the folder/drive you're in. if you have a bunch of stuff on your computer, it will take up more memory than you think.

dir/s %cd% >allfiles.txt

CodeMadness6 months ago

You can create real batch file menus when echoing these two characters:

Ü

Û

Here is an example of what I made. It's weird! Hope you get the idea:

code:

@echo off
mode 1000
color e3
cls

:a
echo ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ
echo Û Û
echo Û Û Û ÜÜÜ Û Û
echo Û Û Û Û Û Û
echo Û ÛÜÜÜÛ Û Û Û
echo Û Û Û Û Û
echo Û Û Û ÜÛÜ Û Û
echo Û Û
echo Û Û
echo Û Û
echo Û Û
echo ÛÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÙÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛÛÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÚ
pause >nul

excelanto7 months ago

Great posting, Really very useful sharing. I Am working in a <a href="www.excelanto.com">CMS In Chennai</a>.Here providing very low cost price, CMS and responsive webdesign. Just send your mail, this is mail id info@excelanto.com.Do You have Any Information Let me now.....044-42127512

what was the website you killed

www.vertiv.com

ojohnson32 years ago
One thing that might be useful, is encrypting the username and password file. Any one have ideas?
CODEFACE ojohnson310 months ago

This is somewhat late, but you could convert the .bat file into a .exe file using a free .bat to .exe converter. That's how I keep the source code hidden. Anyone with at least basic computer knowledge will be able to figure out the passwords and usernames otherwise, whereas if you were to convert it to a .exe file, it would make it a much more difficult task for them.

You could replace letters with different ones, and then encrypt them when you get them from an external file. Should be easy.
Regulators12 months ago

this is cool, but i made my own batch file, that allow you to download file from internet, just like download manager. please visit this instructables

http://www.instructables.com/id/How-To-download-Fi...

thanks dude!

Decim82 years ago
if anyone needs me to crash a website please ask, this program will not do anything, but i have made my own.

If anyone would please crash my school website, fairmont.k12.mn.us that would be great. Or if you're in for more of a challenge you could crash skyward.com :P

hay send me an email if your still interested in the school site thing my email is ddogss196@gmail.com

hay can you send me the commands for it cause i have to be connected to a server to crash the site and the server

Decim8 would you give out this version that "works"
bdblock943 years ago
is there any way i could program this so that it crashes a set website as soon as it is opened?
Unfortunately, you can't instantly crash it. It does the equivalent of opening a thousand tabs of the website, and it can't do it instantly. If you want it to open IE, just do "start www.example.com" and that'll open it in your default browser.
MonkiMan2 years ago
you can just go to command prompt and type ping www.google.com (insert the website you need) much easer
Tetheu982 years ago
Made this one cause I think that instead of choosing how many you want, the number of digits it has. Seems a bit more useful.

@echo off
:Start
rem This will basically reset everything
cls
color 07
title Password Generator
echo I will make you a new password.
echo Please write the password down somewhere in case you forget it.
echo This may take a little while to generate.
echo -----------------------------------------------------------------
echo 1) 3 digits password
echo 2) 4 digits password
echo 3) 5 digits password
echo 4) 6 digits password
echo 5) Exit
set /p choice=
if %choice%==1 goto Three
if %choice%==2 goto Four
if %choice%==3 goto Five
if %choice%==4 goto Six
if %choice%==5 exit
:Wrong
echo %choice% is not valid.
echo Choose one of the options
echo above.
ping localhost -n >nul 3
goto Start
:Three
cls
set /a three=%random%
if /i %three% gtr 999 goto Three
if /i %three% lss 100 goto Three
goto Threeok
:Threeok
cls
echo. & echo.
echo Your 3 digits password is %three%
echo Press ENTER
pause>nul
goto Start
:Four
cls
set /a four=%random%
if /i %four% gtr 9999 goto Four
if /i %four% lss 1000 goto Four
goto Fourok
:Fourok
cls
echo. & echo.
echo Your 4 digits password is %four%.
echo Press ENTER
pause>nul
goto Start
:Five
cls
set /a five=%random%
if /i %five% gtr 99999 goto Five
if /i %five% lss 10000 goto Five
goto Fiveok
:Fiveok
cls
echo. & echo.
echo Your 5 digits password is %five%.
echo Press ENTER
pause>nul
goto Start
:Six
cls
echo Generating...
set /a six=%random%%random%
if /i %six% gtr 999999 goto Six
if /i %six% lss 100000 goto Six
goto Sixok
:Sixok
cls
echo. & echo.
echo Your 6 digits password is %six%.
echo Press ENTER
pause>nul
goto Start
1-40 of 58Next »