Introduction: 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

Step 1: 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

Step 2: Website Pinger

This Batch Pings a website you want and go to it at school

:A
@echo off
Title Website Pinger
color 0e
echo Enter the website you would like to ping
set input=
set /p input= Enter your Website here:
if %input%==goto A if NOT B
echo Processing Your request
ping localhost>nul
echo -------------------------------------------------------------------------------------
echo If you do not clost this in 45 seconds you will go to **ENTER WEBSITE HERE**
echo -------------------------------------------------------------------------------------
ping localhost>nul
echo This is the IP=
ping %input%
set input=
set /p input= If you want to open this adress please enter the IP here:
start iexplore.exe %input%
set input2=
set /p input2=
if %input% exit goto exit
ping localhost -n 45 >nul
start iexplore.exe **ENTER WEBSITE HERE**
exit
:exit
exit


Where it says "**ENTER WEBSITE HERE** put your website...if you dont have one delete both lines

Step 3: Website Crasher


This site is just like the Website pinger but insted of pinging it crashes it with 1000 data non stop

':A
@echo off
Title Website Crasher
color 0e
echo Enter the website you would like to crash
set input=
set /p input= Enter your Website here:
if %input%==goto A if NOT B
echo Processing Your request
ping localhost>nul
echo To end Crashing press CTRL + C
ping localhost>nul
cls
echo ----------------------------------------------------------------------
echo Now Crashing Website...DO NOT CLOSE THIS BOX!! PRESS CRTL + C TO END!!
echo ----------------------------------------------------------------------
ping %input% -t -l 1000

Step 4: Password Protected Command Prompt

This Command Prompt makes a user sign up then sign in to get the command prompt

in the command prompt type "red", "green", or "normal" without quotes and it changes the color


@echo off
:home
title Log in to CMD
color 07
cls
echo.
echo Cmd Accounts
echo =============
echo.
echo [1] Log In
echo [2] Sign Up
echo [3] Exit
echo.
set /p op=
if %op%==1 goto 1
if %op%==2 goto 2
if %op%==3 goto 3
goto error
:2
cls
echo Sign Up
echo ======================================
echo.
set /p newname="Enter new username:"
if "%newname%"=="%newname%" goto inputname
:inputname
cd "%userprofile%\documents"
if exist "cmdacoBin" goto skip
if not exist "cmdacoBin" goto noskip
:noskip
md "cmdacoBin"
goto skip
:skip
cd "%userprofile%\documents\cmdacoBin"
if exist "%newname%.bat" goto namexist
if not exist "%newname%.bat" goto skip2
:skip2
echo set realusername=%newname%> "%newname%.bat"
goto next
:next
echo.
set /p pswd=Enter new Password:
if "%pswd%"=="%pswd%" goto inputpass
:inputpass
cd "%userprofile%\documents\cmdacoBin"
echo set password=%pswd%>> "%newname%.bat"
goto next1
:namexist
echo.
echo The entered username already exists.
echo Press any key to return. . .
pause >nul
goto 2
:next1
cls
echo Cmd Accounts
echo ============
echo.
echo Your account has been successfully created!
echo.
pause
goto home
:1
color 07
cls
echo Cmd Accounts Log In
echo ================================
echo.
Set /p logname=Username:
if "%logname%"=="%logname%" goto 2.1
:2.1
echo.
set /p logpass="Password:"
if "%logpass%"=="%logpass%" goto login
:login
cd "%userprofile%\documents\cmdacoBin"
if exist "%logname%.bat" goto call
if not exist "%logname%.bat" goto errorlog
:call
call "%logname%.bat"
if "%password%"=="%logpass%" goto logdone
goto errorlog
:errorlog
color 0c
echo.
echo Username or Password incorrect.
echo Access denied.
pause >nul
goto home
:logdone
cls
echo Command Prompt
echo ==============
echo.
echo Successfully logged in!
echo.
pause
goto account
:account
cls
cd "%userprofile%\documents\cmdacoBin"
call "%realusername%color.bat"
call "%realusername%.bat"
color %colorcode%
cls
echo.
echo -------------------------------------------------------------------------------
echo %realusername%
echo -------------------------------------------------------------------------------
@echo off
break off
Title Command Prompt
color 0a
cls

echo Type "home" any time to go to the current user profile directory.
echo Type "desktop" any time to go to the current user desktop.
echo.
echo Type help to see list of common commands like cd, rd, md, del,
echo ren, replace, copy, xcopy, move, attrib, tree, edit, and cls.
echo Type [command]/? for detailed info.
echo.
pause
cls

:cmd
echo Directory: %CD%
set /P CMD=Command:
if "%CMD%" == "cls" goto cls
if "%CMD%" == "home" goto home2
if "%CMD%" == "desktop" goto desktop
if "%CMD%" == "red" goto red
if "%CMD%" == "green" goto green
if "%CMD%" == "normal" goto normal

%CMD%
cd C:\
goto cmd

:cls
cls
goto cmd

:home2
cd /d %USERPROFILE%
cls
goto cmd

:desktop
cd /d %SystemDrive%\Users\%USERNAME%\Desktop
cls
goto cmd

:red
color 0c
cls
goto cmd

:green
color 0a
cls
goto cmd

:normal
color 07
cls
goto cmd

Step 5: PC Cleanup Utility

This Batch is my favorate and it will

-Delete Internet cookies
-Delete Temporary Files
-Defrag Disk
-Cleanup Disk

@echo off
title PC Cleanup Utility http://www.youtube.com/user/techki-tv

:menu
cls
echo --------------------------------------------------------------------------------
echo PC Cleanup Utility
echo --------------------------------------------------------------------------------
echo.
echo Select a tool
echo =============
echo.
echo [1] Delete Internet Cookies
echo [2] Delete Temporary Internet Files
echo [3] Disk Cleanup
echo [4] Disk Defragment
echo [5] Exit
echo.
set /p op=Run:
if %op%==1 goto 1
if %op%==2 goto 2
if %op%==3 goto 3
if %op%==4 goto 4
if %op%==5 goto exit
goto error
:1
cls
echo --------------------------------------------------------------------------------
echo Delete Internet Cookies
echo --------------------------------------------------------------------------------
echo.
echo Deleting Cookies...
ping localhost -n 3 >nul
del /f /q "%userprofile%\Cookies\*.*"
cls
echo --------------------------------------------------------------------------------
echo Delete Internet Cookies
echo --------------------------------------------------------------------------------
echo.
echo Cookies deleted.
echo.
echo Press any key to return to the menu. . .
pause >nul
goto menu
:2
cls
echo --------------------------------------------------------------------------------
echo Delete Temporary Internet Files
echo --------------------------------------------------------------------------------
echo.
echo Deleting Temporary Files...
ping localhost -n 3 >nul
del /f /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
cls
echo --------------------------------------------------------------------------------
echo Delete Temporary Internet Files
echo --------------------------------------------------------------------------------
echo.
echo Temporary Internet Files deleted.
echo.
echo Press any key to return to the menu. . .
pause >nul
goto menu
:3
cls
echo --------------------------------------------------------------------------------
echo Disk Cleanup
echo --------------------------------------------------------------------------------
echo.
echo Running Disk Cleanup...
ping localhost -n 3 >nul
if exist "C:\WINDOWS\temp"del /f /q "C:WINDOWS\temp\*.*"
if exist "C:\WINDOWS\tmp" del /f /q "C:\WINDOWS\tmp\*.*"
if exist "C:\tmp" del /f /q "C:\tmp\*.*"
if exist "C:\temp" del /f /q "C:\temp\*.*"
if exist "%temp%" del /f /q "%temp%\*.*"
if exist "%tmp%" del /f /q "%tmp%\*.*"
if not exist "C:\WINDOWS\Users\*.*" goto skip
if exist "C:\WINDOWS\Users\*.zip" del "C:\WINDOWS\Users\*.zip" /f /q
if exist "C:\WINDOWS\Users\*.exe" del "C:\WINDOWS\Users\*.exe" /f /q
if exist "C:\WINDOWS\Users\*.gif" del "C:\WINDOWS\Users\*.gif" /f /q
if exist "C:\WINDOWS\Users\*.jpg" del "C:\WINDOWS\Users\*.jpg" /f /q
if exist "C:\WINDOWS\Users\*.png" del "C:\WINDOWS\Users\*.png" /f /q
if exist "C:\WINDOWS\Users\*.bmp" del "C:\WINDOWS\Users\*.bmp" /f /q
if exist "C:\WINDOWS\Users\*.avi" del "C:\WINDOWS\Users\*.avi" /f /q
if exist "C:\WINDOWS\Users\*.mpg" del "C:\WINDOWS\Users\*.mpg" /f /q
if exist "C:\WINDOWS\Users\*.mpeg" del "C:\WINDOWS\Users\*.mpeg" /f /q
if exist "C:\WINDOWS\Users\*.ra" del "C:\WINDOWS\Users\*.ra" /f /q
if exist "C:\WINDOWS\Users\*.ram" del "C:\WINDOWS\Users\*.ram"/f /q
if exist "C:\WINDOWS\Users\*.mp3" del "C:\WINDOWS\Users\*.mp3" /f /q
if exist "C:\WINDOWS\Users\*.mov" del "C:\WINDOWS\Users\*.mov" /f /q
if exist "C:\WINDOWS\Users\*.qt" del "C:\WINDOWS\Users\*.qt" /f /q
if exist "C:\WINDOWS\Users\*.asf" del "C:\WINDOWS\Users\*.asf" /f /q
:skip
if not exist C:\WINDOWS\Users\Users\*.* goto skippy /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.zip del C:\WINDOWS\Users\Users\*.zip /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.exe del C:\WINDOWS\Users\Users\*.exe /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.gif del C:\WINDOWS\Users\Users\*.gif /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.jpg del C:\WINDOWS\Users\Users\*.jpg /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.png del C:\WINDOWS\Users\Users\*.png /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.bmp del C:\WINDOWS\Users\Users\*.bmp /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.avi del C:\WINDOWS\Users\Users\*.avi /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.mpg del C:\WINDOWS\Users\Users\*.mpg /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.mpeg del C:\WINDOWS\Users\Users\*.mpeg /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.ra del C:\WINDOWS\Users\Users\*.ra /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.ram del C:\WINDOWS\Users\Users\*.ram /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.mp3 del C:\WINDOWS\Users\Users\*.mp3 /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.asf del C:\WINDOWS\Users\Users\*.asf /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.qt del C:\WINDOWS\Users\Users\*.qt /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.mov del C:\WINDOWS\Users\Users\*.mov /f /q
:skippy
if exist "C:\WINDOWS\ff*.tmp" del C:\WINDOWS\ff*.tmp /f /q
if exist C:\WINDOWS\ShellIconCache del /f /q "C:\WINDOWS\ShellI~1\*.*"
cls
echo --------------------------------------------------------------------------------
echo Disk Cleanup
echo --------------------------------------------------------------------------------
echo.
echo Disk Cleanup successful!
echo.
pause
goto menu
:4
cls
echo --------------------------------------------------------------------------------
echo Disk Defragment
echo --------------------------------------------------------------------------------
echo.
echo Defragmenting hard disks...
ping localhost -n 3 >nul
defrag -c -v
cls
echo --------------------------------------------------------------------------------
echo Disk Defragment
echo --------------------------------------------------------------------------------
echo.
echo Disk Defrag successful!
echo.
pause
goto menu
:error
cls
echo Command not recognized.
ping localhost -n 4 >nul
goto menu
:exit


echo Thanks for using PC Cleanup Utility by Ryan
ping 127.0.0.1 >nul
exit

Step 6: BYE!!!


Thanks for viewing my 1st instructable and check out my youtube

http://www.youtube.com/techkitv

Comments

author
ethanpalmer765 made it!(author)2015-07-08

Now i crash any website i want.........Awkward silence..hahahahah

author
d34dh4ck3rw4nn4b3 made it!(author)2017-07-04

I take this comment ironicly but I still have to say it. That "website crasher" does not work.

author
Code_Master made it!(author)2013-07-28

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 :)

author
RW4 made it!(author)2015-01-07

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.

author
AndrewV10 made it!(author)2015-08-17

Fyi you can click edit when you download it, and read the code

author
d34dh4ck3rw4nn4b3 made it!(author)2017-07-04

He said that you do not want to accidentaly run it in case it is malicious.

But Code_Master you are right about not posting this much on a forums page though you dont want to download it because of what I just wrote. Instead you could have text files for each code explaining what it does and giving you the code in the same file.

author
Code_Master made it!(author)2013-07-28

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

author
JamesD273 made it!(author)2016-05-15

website crasher says it cannot find a

author
d34dh4ck3rw4nn4b3 made it!(author)2017-07-04

Says it cn not find a what? You need to give more information for me to help you.

Also Website crasher does not work, read some of my and other peoples comments that explains why it doesnt work.

author
tesladude123 made it!(author)2011-03-29

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

please help

thanks

author
d34dh4ck3rw4nn4b3 made it!(author)2017-07-04

I know this is 6 years ago but I will still answer in case someone saw this comment and thought the same.
What is shown is a code that pings until you tell it to stop. It is now good to know that when you ping it waits for an "answer" and then it can ping again.
Read more about DDos to understand how to "crash" a website.

author
radame made it!(author)2011-04-04

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...

author
SamiS46 made it!(author)2016-10-12

Are there any required computer specs?

author
XiloPac made it!(author)2014-05-19

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

author
032827 made it!(author)2015-02-05

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

author
WonjoonP made it!(author)2016-09-03

Yes, but he said doss

author
tesladude123 made it!(author)2012-08-08

Can you give me a good website to crash

author

Here crash this one www.computherm-fabo.rs

author
xana made it!(author)2011-04-18

i need a ip crasher version of this.

author
AndrewV10 made it!(author)2015-08-17

It's not powerful enough

author
DoubleAProgramming made it!(author)2014-06-05

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

author
HenkP5 made it!(author)2017-01-24

i used this code to make a quiz inside the cmd-prompt! heres the code:

@echo off

:start

color a9

cls

goto start2

:start2

echo Hello! i am Peter!

echo I will ask you some questions!

echo ONLY TYPE THE NUMBERS THAT ARE GIVEN EACH QUESTION!

pause

:A

cls

echo Okay! Here's the first question:

echo What is my favorite color?

echo 1) Green

echo 2) Blue

echo 3) Red

echo 4) None of those

set input=

set /p input= Choice:

if %input%==1 goto B if NOT goto C

if %input%==2 goto C if NOT goto C

if %input%==4 goto C if NOT goto C

if %input%==3 goto C if NOT goto C

:B

cls

echo Correct! You earned a cookie!

echo Next question:

echo What flies without wings?

echo 1) A dead bird

echo 2) Time

echo 3) Dumbo

set input=

set /p input= Choice:

if %input%==2 goto D if NOT goto C

:C

cls

color 4a

echo WRONG!

echo will you try again?

echo 1) Yes

echo 2) No

set input=

set /p input= Choice:

if %input%==1 goto start if NOT goto C

if %input%==2 exit if NOT goto C

:D

cls

echo Correct! You now have 2 cookies!

echo You're smarter than i thought!

echo Next question:

echo Feed me and I live, yet give me a drink and I die. What am I?

echo 1) Sugar

echo 2) A computer

echo 3) Fire

echo 4) Peter (me)

set input=

set /p input= Choice:

if %input%==1 goto C if NOT goto C

if %input%==2 goto C if NOT goto C

if %input%==3 goto E if NOT goto C

if %input%==4 goto C if NOT goto C

:E

cls

echo Correct Again!

echo You now have 0 cookies, because I was hungry

echo ...

echo Anyway, next question!

echo What type of house weighs the least?

echo 1) A bouncing castle

echo 2) A lighthouse

echo 3) A cheese

set input=

set /p input= Choice:

if %input%==1 goto C if NOT goto C

if %input%==2 goto F if NOT goto C

if %input%==3 goto C if NOT goto C

:F

cls

echo Well done! you completed my quiz!

echo Hope to see you again soon!

echo Bye!

pause

cls

color 0a

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

exit

author
d34dh4ck3rw4nn4b3 made it!(author)2017-07-04

I didnt hve time to read all that but just for you to know, if you put a " :(x) then you dont need a "goto x" the line above.

Just saying.

author
JosephO1 made it!(author)2015-02-19

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

author
d34dh4ck3rw4nn4b3 made it!(author)2017-07-04

Nothing here is illegal, neither is my username.
It is not illigal to mess around with your computer, just to go in other people's accounts without premission (not if the account is in your own computer or server though) and also to harm a website that isnt yours. Also alot of these have glitches and some (like the website crasher) doesnt even fill the purpose it's said to.

author
Alextructables101 made it!(author)2017-03-30

Then if it was illegal... HOW COME I HAVEN'T BEEN ARRESTED YET

author
herrzero made it!(author)2017-03-27

How is this illegal? Do you actually know that it is?

author
randallh17 made it!(author)2017-01-31

Someone does not know what freedoms are

Your allowed to code, if it was illegal, where would your computer or phone be?

-------------------------------------------------------------------------------------------------------

author
GeekSquadUser made it!(author)2016-10-06

It's not illegal to lock your terminal in your personal computer, friend

author
thiccdadddy made it!(author)2017-02-06

This isn't illegal I tried it on Menelik for hours and no one told me off.

author
thiccdadddy made it!(author)2017-02-06

for the poloce reading this I didn't try this don't worry we're safe G, pls dont pursue me. i must look after my son

author
thiccmomma made it!(author)2017-02-06

Have you seen... my son?

(•_•)
<) )╯
/ \

author
bertschaaron2020 made it!(author)2016-12-14

ddos does not work because what it does is sends 1 at a time and waits for it to come back checks if it reached its destination then sends another if you would want to DDOS don't but if you did you would need a ddos program which sends hundred/thousands of connections AT THE SAME TIME. also ddos programs send more powerful packets that are designated at a smaller area even if ping command sent them at the same they are to weak to phase even the smallest of servers/websites/modems/routers. for any other questions about anything email me at: lavahoundz@gmail.com

author
TheAdvancedGuy made it!(author)2016-11-24

The Locked Cmd isn't very locked,well if you know what your doing., you just need to find :1 delete all its code and replace with goto :account and I was able to access it a few seconds so if you forget it just use my technique I'll paste the code I used and the original

Edited:

:1

goto :account

Orginal:

:1
color 07
cls
echo Cmd Accounts Log In
echo ================================
echo.
Set /p logname=Username:
if "%logname%"=="%logname%" goto 2.1

author
MeirZ made it!(author)2016-10-13

you have so much redundant lines and so much extra code

first of all you don't don't need ":start2" just put the cls under :start and it will do the same thing

example:

:start
cls

second of all you don't need to have two inputs
Third of all don't use IF NOT statements because it doesn't make a difference


example:

before

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

after:

set /p input= choice:

if %input%==1 goto A
if %input%==2 goto B
if %input%==3 goto C
goto start2

the reason this works is because it is read in a linear fashon %input% is 1 then it goes right away to A if it isn't then it continues to read down is it B nope is it C nope and then you read goto start2 so it goes to start2 you don't need IF NOTs because if it isn't true it will just read down and get to that goto anyways

also I rewrote your program showing that you used a lot more code then what was needed

@echo off

title random password gen

:Start

cls && set choice=0

echo (type 0 to exit)

echo.

echo 1 Random Password

echo 5 Random Passwords

echo 10 Random Passwords

set /p input= quantity:

if %input%==0 exit

if %input%==1 set /a choice=%choice%+1 && goto a

if %input%==2 goto set /a choice=%choice%+5 && goto a

if %input%==3 goto set /a choice=%choice%+10 && goto a

goto start

:a

cls

if %choice%==1 echo your password is %random%

if %choice%==5 echo your 5 passwords are %random%, %random%, %random%, %random%, %random%.

if %choice%==10 echo your 10 passwords are %random%, %random%, %random%, %random%, %random%,%random%, %random%, %random%, %random%, %random%.

echo press any key to conitnue to menu... && pause nul> && goto menu

author
AnonU1 made it!(author)2016-10-12

pings site does not crash it

author
BrandonB2 made it!(author)2014-09-27

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

author
knil92 made it!(author)2016-08-17

its so helpful right? i use that command and a vbs to make sure that backup routines for various servers are running correctly. All i have to do is open my e-mail and check the dir to make sure they have files from the current day and that they are the proper size XD

author
ShashankS79 made it!(author)2016-07-20

Plz help me to provide a batch file which can do automatic mail to someone at month end

author
knil92 made it!(author)2016-08-17

on error resume next

Const schema = "http://schemas.microsoft.com/cdo/configuration/"

Const cdoBasic = 1

Const cdoSendUsingPort = 2

Dim oMsg, oConf

' E-mail properties

Set oMsg = CreateObject("CDO.Message")

oMsg.From = "username@gmail.com" ' or "Sender Name <from@gmail.com>"

oMsg.To = "sendto@whoever.com" ' or "Recipient Name <to@gmail.com>"

oMsg.Subject = "Subject here"

oMsg.TextBody = "e-mail message here"

' GMail SMTP server configuration and authentication info

Set oConf = oMsg.Configuration

oConf.Fields(schema & "smtpserver") = "smtp.gmail.com" 'server address

oConf.Fields(schema & "smtpserverport") = 465 'port number

oConf.Fields(schema & "sendusing") = cdoSendUsingPort

oConf.Fields(schema & "smtpauthenticate") = cdoBasic 'authentication type

oConf.Fields(schema & "smtpusessl") = True 'use SSL encryption

oConf.Fields(schema & "sendusername") = "username@gmail.com" 'sender username

oConf.Fields(schema & "sendpassword") = "password here" 'sender password

oConf.Fields.Update()

' send message

oMsg.Send()

Copy and paste into notepad, fill out the relevant sections such as username and password along with email from, email to, subject and message. Save the file as email.vbs. Then create a scheduled task to run the vbs file once a month

author
LiamSmithX made it!(author)2016-08-15

Here is a code that allows you to both save a random generated 8 digit code and display it in program:

@echo off

cls

title Password Generator

color F5

setlocal delayexpansion

cls

@mode con: cols=50 lines=25

cls

goto loop

:loop

cls

goto start

:start

echo.

echo ================================================== Random Password Generator

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

echo.

echo ALL passwords will be saved so don't worry.

echo.

echo [1] Generate random password.

echo [2] Exit.

echo.

echo Please type 1 or 2 to move forward

set/p input= "Choice:"

if %input%==1 goto 1 if NOT goto loop

if %input%==2 goto 2 if NOT goto loop

:1

cls

echo.

echo Your randomly generated password has been saved.

echo %random%%random% >RandomPass.txt

echo.

echo [1] Go back to the main menu.

echo [2] See password in program.

echo [3] Exit.

echo.

set/p input= Choice:

if %input%==1 goto loop

if %input%==2 goto 3

if %input%==3 goto 2

:3

cls

echo.

echo Your password is:

type RandomPass.txt

echo.

echo [1] Go back to the beginning

echo [2] Exit.

echo.

set/p input= Choice:

if %input%==1 goto loop

if %input%==2 goto 2

:2

cls

Exit

Capture.PNG
author
alexb369 made it!(author)2016-08-02

`password generator remake:

---------------------------------------------------------------------------------------------------------------

@echo off

cls

color 4c

cls

:loop

cls

goto Start

:Start

title Password Generator

echo I generate you a new password.

echo no need to write the password down it is in a text document!

echo ----------------------------------------­-----------------------

echo START PASSWORD GENERATOR!

pause

cls

goto strt

cls

:strt

cls

echo what is the first word that pops in your head?

set/p wrd=word:

echo what is your name?

set/p nam=name:

cls

cd "%userprofile%\documents\Passwords"

if exist "Passwords" goto ss

if not exist "Passwords" goto m8ke

:m8ke

md Passwords

:ss

cd "%userprofile%\documents\Passwords"

echo %nam% your passwrod generated is this number %random%> %wrd%.txt

echo Your password is saved as a txt file

echo Now choose what you want to do.

echo 1) Go back to the beginning

echo 2) Exit

set input=

set /p input= Choice:

cls

if %input% == 1 goto loop

if %input% == 2 Exit

cls

goto loop

cls

author
alexb369 made it!(author)2016-08-02

Here Is A Modified Version Of "Password protect command prompt" :

---------------------------------------------------------------------------------------------------------------

title Log in to CMD

color 07

cls

echo.

echo Cmd Accounts

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

echo.

echo [1] Log In

echo [2] Sign Up

echo [3] Exit

echo.

set /p op=

if %op%==1 goto 1

if %op%==2 goto 2

if %op%==3 goto 3

goto error

:2

cls

echo Sign Up

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

echo.

set /p newname="Enter new username:"

if "%newname%"=="%newname%" goto inputname

:inputname

cd "%userprofile%\documents"

if exist "cmdacoBin" goto skip

if not exist "cmdacoBin" goto noskip

:noskip

md "cmdacoBin"

goto skip

:skip

cd "%userprofile%\documents\cmdacoBin"

if exist "%newname%.bat" goto namexist

if not exist "%newname%.bat" goto skip2

:skip2

echo set realusername=%newname%> "%newname%.bat"

goto next

:next

echo.

set /p pswd=Enter new Password:

if "%pswd%"=="%pswd%" goto inputpass

:inputpass

cd "%userprofile%\documents\cmdacoBin"

echo set password=%pswd%>> "%newname%.bat"

cls

goto cho

cls

:cho

echo pick a color ( red green normal or special typed incorrectly will cause cmd to crash )

set/p cc=color:

if %cc%== red ECHO set col=0c> "%newname%color.bat"

if %cc%== green ECHO set col=0a> "%newname%color.bat"

if %cc%== normal ECHO set col=07> "%newname%color.bat"

if %cc%== special ECHO set col=d3> "%newname%color.bat"

goto next1

:namexist

echo.

echo The entered username already exists.

echo Press any key to return. . .

pause >nul

goto 2

:next1

cls

echo Cmd Accounts

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

echo.

echo Your account has been successfully created!

echo.

pause

goto home

:1

color 07

cls

echo Cmd Accounts Log In

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

echo.

Set /p logname=Username:

if "%logname%"=="%logname%" goto 2.1

:2.1

echo.

set /p logpass="Password:"

if "%logpass%"=="%logpass%" goto login

:login

cd "%userprofile%\documents\cmdacoBin"

if exist "%logname%.bat" goto call

if not exist "%logname%.bat" goto errorlog

:call

call "%logname%.bat"

if "%password%"=="%logpass%" goto logdone

goto errorlog

:errorlog

color 0c

echo.

echo Username or Password incorrect.

echo Access denied.

pause >nul

goto home

:logdone

cls

echo Command Prompt

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

echo.

echo Successfully logged in!

echo.

pause

goto account

:account

cls

cd "%userprofile%\documents\cmdacoBin"

call "%realusername%color.bat"

call "%realusername%.bat"

color %colorcode%

cls

echo.

echo -------------------------------------------------------------------------------

echo %realusername%

echo -------------------------------------------------------------------------------

@echo off

break off

Title Command Prompt

:sss

call "%logname%color.bat"

color %col%

cls

goto cmd

cls

echo Type "home" any time to go to the current user profile directory.

echo Type "desktop" any time to go to the current user desktop.

echo.

echo Type help to see list of common commands like cd, rd, md, del,

echo ren, replace, copy, xcopy, move, attrib, tree, edit, and cls.

echo Type [command]/? for detailed info.

echo.

pause

cls

:cmd

echo Directory: %CD%

set /P CMD=Command:

if "%CMD%" == "cls" goto cls

if "%CMD%" == "home" goto home2

if "%CMD%" == "desktop" goto desktop

if "%CMD%" == "red" goto red

if "%CMD%" == "green" goto green

if "%CMD%" == "normal" goto normal

%CMD%

cd C:\

goto cmd

:cls

cls

goto cmd

:home2

cd /d %USERPROFILE%

cls

goto cmd

:desktop

cd /d %SystemDrive%\Users\%USERNAME%\Desktop

cls

goto cmd

:red

color 0c

cls

goto cmd

:green

color 0a

cls

goto cmd

:normal

color 07

cls

goto cmd

author
zeshan-dhiloo made it!(author)2016-02-19

I have created a wounderful batch file....check this...
https://www.dropbox.com/s/zzcbgmdz8j848ro/All%20in%20one%20PC%20utility.zip?dl=0

author
Zyro%21 made it!(author)2016-01-21

It didn't work

author
Batchcc made it!(author)2015-08-30

https://www.instructables.com/id/Full-screen-batch-matrix/

Full screen batch matrix

author
GamingD made it!(author)2015-03-24

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

author
MyPCHostH made it!(author)2015-08-28

Because all this script does is slow your own connection to the server that the website is on by sending larger packets of data to it. It won't crash anything except your own computer and slow your internet connection to a crawl.

author
Cubit-GamesY made it!(author)2015-05-22

I believe it takes much longer to crash than you think. Other real and highly illegal DOS software can do it nearly instantly, but this is a home-made one, it uses the pinging feature that batch has to do the crash. how this works is, when normally visiting a site, you send a request to the servers to see the site, it then responds with the site, this batch file pings the website, which does the same thing, it sends a request to the server and the server responds giving it data, but this loops the pinging, it continues to send request to the point of the site crashing, DDOS itsself means 'distributed denial of service', meaning that the batch file is pinging it so much, the server cant handle anyone else to visit the site, iv been blabbering but lemme get to the point, pro DDOS software sents thousands of visitors as once to crash it, while this just continuesly sneds requests one after another very, very quickly, meaning it has to be open for a long time.

author
WonderHow72 made it!(author)2015-03-24

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

About This Instructable

795,737views

74favorites

License:

Bio: I am a computer "nerd" and I admit it...but if you see me on the street you will not know it...:)
More by radame:5 Cool Batch Files
Add instructable to: