Awesome Batch Codes

87,584

16

49

Introduction: Awesome Batch Codes

If you've seen batch codes you've seen the basic calculator, matrix and folder Locker but here are some special ones I bet you've never seen including a matrix that goes up not down, an error message creator using pure batch not vbs and other cool files enjoy! Sorry for the p tags remove them from the codes.

Step 1: Error Message Using Only Batch NO Vbs

This makes an error message using only one batch code if anyone knows how to change the msg title please tell me.

::::::::::::::::::::::::::::::::::::::::::::::::

@if (true == false) @end /*!
@echo off mshta "about:

" %* goto :EOF */

alert("Hello, world!");

:::::::::::::::::::::::::::::::::::::::::::::::::::

you can call it in a file like this

@echo off

cls

echo enter a password

set /p pass=

call msg

:msg

@if (true == false) @end /*!
@echo off mshta "about:

" %* goto :EOF */ alert("Thank you %username%!");

Step 2: American Flag .bat

here is the code to make the American flag sorry its kinda slow

<p>@echo off<br>setlocal enabledelayedexpansion
mode con cols=80 lines=25</p><p>   for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do (
      set "DEL=%%a"
   )</p><p>for /l %%a in (1,1,5) do (
   for /l %%b in (1,1,6) do (
      call:ColorText "ÿÿÿ" "90"
      call:ColorText "xÿ" "9F"
   )
   for /l %%b in (1,1,30) do (
      call:ColorText "ÿ" "C0"
   )
   echo/
   for /l %%b in (1,1,6) do (
      call:ColorText "x" "9F"
      call:ColorText "ÿÿÿÿ" "90"
   )
   for /l %%b in (1,1,30) do (
      call:ColorText "ÿ" "F0"
   )
   echo/
)
for /l %%b in (1,1,3) do (
   for /l %%b in (1,1,60) do (
      call:ColorText "ÿ" "C0"
   )
   echo/
   for /l %%b in (1,1,60) do (
      call:ColorText "ÿ" "F0"
   )
   echo/
)
pause>nul
exit/b
:ColorText
    "%~1"
   findstr /v /a:%2 /R "^

@echo off
setlocal enabledelayedexpansion mode con cols=80 lines=25

for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do ( set "DEL=%%a" )

for /l %%a in (1,1,5) do ( for /l %%b in (1,1,6) do ( call:ColorText "ÿÿÿ" "90" call:ColorText "xÿ" "9F" ) for /l %%b in (1,1,30) do ( call:ColorText "ÿ" "C0" ) echo/ for /l %%b in (1,1,6) do ( call:ColorText "x" "9F" call:ColorText "ÿÿÿÿ" "90" ) for /l %%b in (1,1,30) do ( call:ColorText "ÿ" "F0" ) echo/ ) for /l %%b in (1,1,3) do ( for /l %%b in (1,1,60) do ( call:ColorText "ÿ" "C0" ) echo/ for /l %%b in (1,1,60) do ( call:ColorText "ÿ" "F0" ) echo/ ) pause>nul exit/b :ColorText "%~1" findstr /v /a:%2 /R "^$" "%~1" nul del "%~1" > nul 2>&1 exit/b ::http://www.dostips.com/forum/viewtopic.php?f=3&t=5641&hilit=Batch+circle+file

quot; "%~1" nul del "%~1" > nul 2>&1 exit/b ::http://www.dostips.com/forum/viewtopic.php?f=3&t=5641&hilit=Batch+circle+file</p>

Step 3: Windows XP Boot Screen

Here is the windows XP boot screen (it never turns on though)

<p>@echo off<br>call :conf
if not exist batbox.exe call :mkbtx
mode con cols=93 lines=40
batbox /o 37 8 %flag% /c 0x0f /g 20 10 /d "TM"
batbox /f 1
batbox /o 31 28 %progressbar%
batbox /o 20 20 %WinXP%
:start
batbox /o %move% 32 %gum%
set /a move+=1
batbox /o %move% 32 %load%
if %max_D%==%move% batbox /o %move% 32 %gum% & call :reset
batbox /w 20
goto :start
:mkbtx
for %%b in ( 
4D5343460000000073030000000000002C000000000000000301010001000000
00000000470000000100010000060000000000000000FE4259B5200062617462
6F782E657865003FD9412724030006434BB5545F485361143F5737F0CF726B3A
102ABB528B1EC24813421026D3529AB59C184460D7ED6EF7CE79EFB8F74A562F
0B1D543EF5143DC60483C27AF0C14248B18710A4979ECA40426A0329A1B21ECA
AF73EE9D4E21B287FAB6DF77CFF99DF37DDFEF3B3B779D1752C001800D5CC018
808F1C1C3ED879A41015FB9F56C064E942ED141758A8ED96649D4F6A6A4C1306
F8B0A028AAC1F789BC36A8F0B2C2B79E0DF1036A44ACDB557670638F601B4080
E3A0C3FBFDDC06B7044EAE9CE34EA2283041C3B505A48E9E450079B99B69C05B
FC4B1457BC75DD6666DECD8F981BE02EF71797FDC7A32E9A100C7C1EB1E505D9
2CDD5BC7252AC57F1E92ABCA0771EB21D968029C98E76125D25F9967D1ED838C
8372D6F24E093AD9175832FFADCAD43C7F8C459F9442D39D1E8C3947C6913F15
7BB79A7BCD18CBA6D10BB24687B9E33226E4E6904E5DE37A9DE90A3C9C7926F1
98F48C73E401F2CC731FBD66BAB2335D6E8689B0336A13E6798C76B601772CB6
F7E2565EEAD64C1589A931C93092B34B2ECE4E1C6BB466EBE82C1DDD4E8A3ED3
5ED25137B163B861AE9ED8B7D452F182D42F945F4D111213920E14F28B908D57
B3C61233710903560539A9DA3CD0E257901F6EA600D664019744879B295EE44C
3F43EF9BFD303A3FD172A61FE13CDABC17FD9BEBB39F5CD7DFD3BDEEF155565D
6E63B4D8CC0E9EEF910E15745C5D47755EAB32AB245726A20A890C55275B4616
952417A44035BA71FC8498670A970F3F77CCCD7E2862E3F524D44EBFBB6D741F
3D46F7A4DF3847E885988B835574AF0EDE4893F9056F1874970F26101F111711
B6DD3EA8411C472C20A611FD31211C8D0CA89737DAEC4665A1E532F8CA8DA13F
ED2E7013682FBA7FDFA29DA11E7F57775D6B2000A7DBBACEB4051AEA4D077EE0
02076E54833881E846488864FEB09DE2D8AAA2113222ED82124988E48744C3AF
2ABA9A103BF17F6A3BD32D0E192D86A1C97D8386B82DE21FD474550BAABA6CC8
AA42ABBA4421920F7628C941A385F213A298DCB6AE55D69309E18A79D40C6A9A
47BC422C2356106B799D7F8AE16D345931A264F5C644232C9916990382AC085A
4C475F1C920D93EFEF932C4B3734434D00FC02 
) Do >>t.dat (Echo.For b=1 To len^("%%b"^) Step 2
ECHO WScript.StdOut.Write Chr^(Clng^("&H"^&Mid^("%%b",b,2^)^)^) : Next)
Cscript /b /e:vbs t.dat>batbox.ex_
Del /f /q /a t.dat >nul 2>&1
Expand -r batbox.ex_ >nul 2>&1
Del /f /q /a batbox.ex_ >nul 2>&1
goto:eof
:conf
set max_D=49
set max_G=30
set gum=/c 0x00 /g 2 -3 /a 220 /g 4 -3 /a 220 /g 6 -3 /a 220
set load=/c 0xb9 /g 2 -3 /a 220 /c 0xb9 /g 4 -3 /a 220 /c 0xb9 /g 6 -3 /a 220
set WinXP=/c 0x0f /g 0 0 /a 219 /c 0x0f /g 0 1 /a 219 /c 0x0f /g 1 2 /a 219 /c 0x0f /g 1 3 /a 219 /c 0x0f /g 2 4 /a 219 /c 0x0f /g 3 4 /a 219 /c 0x0f /g 3 3 /a 219 /c 0x0f /g 4 4 /a 219 /c 0x0f /g 5 3 /a 219 /c 0x0f /g 5 2 /a 219 /c 0x0f /g 6 1 /a 219 /c 0x0f /g 6 0 /a 219 /c 0x00 /g 3 4 /a 219 /c 0x0f /g 9 1 /a 219 /c 0x0f /g 9 3 /a 219 /c 0x0f /g 9 4 /a 219 /c 0x0f /g 12 4 /a 219 /c 0x0f /g 12 3 /a 219 /c 0x0f /g 12 2 /a 219 /c 0x0f /g 12 1 /a 219 /c 0x0f /g 13 2 /a 219 /c 0x0f /g 14 1 /a 219 /c 0x0f /g 15 1 /a 219 /c 0x0f /g 16 2 /a 219 /c 0x0f /g 16 3 /a 219 /c 0x0f /g 16 4 /a 219 /c 0x0f /g 18 2 /a 219 /c 0x0f /g 18 3 /a 219 /c 0x0f /g 19 4 /a 219 /c 0x0f /g 20 4 /a 219 /c 0x0f /g 19 1 /a 219 /c 0x0f /g 20 1 /a 219 /c 0x0f /g 21 1 /a 219 /c 0x0f /g 21 0 /a 219 /c 0x0f /g 21 2 /a 219 /c 0x0f /g 21 3 /a 219 /c 0x0f /g 21 4 /a 219 /c 0x00 /g 18 2 /a 219 /c 0x00 /g 18 3 /a 219 /c 0x00 /g 19 1 /a 219 /c 0x00 /g 19 4 /a 219 /c 0x00 /g 21 3 /a 219 /c 0x00 /g 21 2 /a 219 /c 0x00 /g 21 0 /a 219 /c 0x0f /g 19 2 /a 219 /c 0x0f /g 19 3 /a 219 /c 0x0f /g 22 0 /a 219 /c 0x0f /g 22 1 /a 219 /c 0x0f /g 22 2 /a 219 /c 0x0f /g 22 3 /a 219 /c 0x0f /g 22 4 /a 219 /c 0x0f /g 25 2 /a 219 /c 0x0f /g 25 3 /a 219 /c 0x0f /g 26 4 /a 219 /c 0x0f /g 27 4 /a 219 /c 0x0f /g 26 1 /a 219 /c 0x0f /g 27 1 /a 219 /c 0x0f /g 28 2 /a 219 /c 0x0f /g 28 3 /a 219 /c 0x0f /g 31 1 /a 219 /c 0x0f /g 31 2 /a 219 /c 0x0f /g 32 3 /a 219 /c 0x0f /g 33 4 /a 219 /c 0x0f /g 34 3 /a 219 /c 0x0f /g 35 4 /a 219 /c 0x0f /g 36 3 /a 219 /c 0x0f /g 37 2 /a 219 /c 0x0f /g 37 1 /a 219 /c 0x0f /g 40 4 /a 219 /c 0x0f /g 41 4 /a 219 /c 0x0f /g 42 4 /a 219 /c 0x0f /g 43 3 /a 219 /c 0x0f /g 42 2 /a 219 /c 0x0f /g 41 2 /a 219 /c 0x0f /g 40 2 /a 219 /c 0x0f /g 40 1 /a 219 /c 0x0f /g 40 0 /a 219 /c 0x0f /g 41 0 /a 219 /c 0x0f /g 42 0 /a 219 /c 0x00 /g 40 0 /a 219 /c 0x00 /g 40 2 /a 219 /c 0x0f /g 43 0 /a 219 /c 0x0f /g 45 2 /a 184 /c 0x0f /g 45 1 /a 184 /c 0x0f /g 45 2 /a 184 /c 0x00 /g 45 2 /a 184 /c 0x04 /g 47 1 /a 219 /c 0x04 /g 46 1 /a 219 /c 0x04 /g 46 2 /a 219 /c 0x04 /g 45 3 /a 219 /c 0x04 /g 48 2 /a 219 /c 0x04 /g 49 3 /a 219 /c 0x04 /g 48 0 /a 219 /c 0x04 /g 49 -1 /a 219 /c 0x04 /g 45 0 /a 219 /c 0x04 /g 44 -1 /a 219 /c 0x00 /g 46 1 /a 219 /c 0x00 /g 45 0 /a 219 /c 0x00 /g 44 -1 /a 219 /c 0x04 /g 46 0 /a 219 /c 0x04 /g 45 -1 /a 219 /c 0x04 /g 51 -1 /a 219 /c 0x04 /g 51 0 /a 219 /c 0x04 /g 51 1 /a 219 /c 0x04 /g 51 2 /a 219 /c 0x04 /g 51 3 /a 219 /c 0x04 /g 52 -1 /a 219 /c 0x04 /g 53 -1 /a 219 /c 0x04 /g 54 0 /a 219 /c 0x04 /g 53 1 /a 219 /c 0x04 /g 52 1 /a 219 /c 0x0f /g 0 -1 /d "microsoft" /c 0x0f /g 9 -1 /a 184 /c 0x0f /g 9 7 /a 201 /c 0x0f /g 10 7 /a 205 /c 0x0f /g 11 7 /a 205 /c 0x0f /g 12 7 /a 205 /c 0x0f /g 13 7 /a 205 /c 0x0f /g 14 7 /a 205 /c 0x0f /g 15 7 /a 205 /c 0x0f /g 16 7 /a 205 /c 0x0f /g 18 7 /a 205 /c 0x0f /g 17 7 /a 205 /c 0x0f /g 19 7 /a 205 /c 0x0f /g 20 7 /a 205 /c 0x0f /g 21 7 /a 205 /c 0x0f /g 22 7 /a 205 /c 0x0f /g 23 7 /a 205 /c 0x0f /g 24 7 /a 205 /c 0x0f /g 25 7 /a 205 /c 0x0f /g 26 7 /a 205 /c 0x0f /g 27 7 /a 205 /c 0x0f /g 28 7 /a 205 /c 0x0f /g 30 7 /a 205 /c 0x0f /g 31 7 /a 205 /c 0x0f /g 29 7 /a 205 /c 0x0f /g 32 7 /a 205 /c 0x0f /g 33 7 /a 205 /c 0x0f /g 34 7 /a 205 /c 0x0f /g 36 7 /a 205 /c 0x0f /g 35 7 /a 205 /c 0x0f /g 37 7 /a 205 /c 0x0f /g 38 7 /a 187 /c 0x0f /g 9 9 /a 200 /c 0x0f /g 38 9 /a 188 /c 0x0f /g 10 7 /d "                             " /c 0x00 /g 9 7 /d "                             " /c 0x00 /g 9 9 /a 219 /c 0x00 /g 38 9 /a 219
set progressbar=/c 0x0f /g 0 0 /a 201 /c 0x0f /g 2 0 /a 205 /c 0x0f /g 1 0 /a 205 /c 0x0f /g 3 0 /a 205 /c 0x0f /g 4 0 /a 205 /c 0x0f /g 5 0 /a 205 /c 0x0f /g 7 0 /a 205 /c 0x0f /g 6 0 /a 205 /c 0x0f /g 8 0 /a 205 /c 0x0f /g 9 0 /a 205 /c 0x0f /g 10 0 /a 205 /c 0x0f /g 11 0 /a 205 /c 0x0f /g 13 0 /a 205 /c 0x0f /g 14 0 /a 205 /c 0x0f /g 15 0 /a 205 /c 0x0f /g 17 0 /a 205 /c 0x0f /g 16 0 /a 205 /c 0x0f /g 12 0 /a 205 /c 0x0f /g 18 0 /a 205 /c 0x0f /g 19 0 /a 205 /c 0x0f /g 20 0 /a 205 /c 0x0f /g 21 0 /a 205 /c 0x0f /g 22 0 /a 205 /c 0x0f /g 23 0 /a 205 /c 0x0f /g 24 0 /a 205 /c 0x0f /g 25 0 /a 187 /c 0x0f /g 0 2 /a 200 /c 0x0f /g 25 2 /a 188 /c 0x0f /g 2 2 /a 205 /c 0x0f /g 1 2 /a 205 /c 0x0f /g 3 2 /a 205 /c 0x0f /g 4 2 /a 205 /c 0x0f /g 5 2 /a 205 /c 0x0f /g 6 2 /a 205 /c 0x0f /g 7 2 /a 205 /c 0x0f /g 8 2 /a 205 /c 0x0f /g 9 2 /a 205 /c 0x0f /g 10 2 /a 205 /c 0x0f /g 11 2 /a 205 /c 0x0f /g 12 2 /a 205 /c 0x0f /g 13 2 /a 205 /c 0x0f /g 14 2 /a 205 /c 0x0f /g 15 2 /a 205 /c 0x0f /g 16 2 /a 205 /c 0x0f /g 17 2 /a 205 /c 0x0f /g 18 2 /a 205 /c 0x0f /g 19 2 /a 205 /c 0x0f /g 20 2 /a 205 /c 0x0f /g 21 2 /a 205 /c 0x0f /g 22 2 /a 205 /c 0x0f /g 23 2 /a 205 /c 0x0f /g 24 2 /a 205 /c 0x0f /g 0 1 /a 186 /c 0x0f /g 25 1 /a 186
set flag=/c 0x7c /g 0 0 /a 219 /c 0x7c /g 1 0 /a 219 /c 0x7c /g 2 0 /a 219 /c 0x7c /g 3 0 /a 219 /c 0x7c /g 4 0 /a 219 /c 0x7c /g -2 1 /a 219 /c 0x7c /g -1 1 /a 219 /c 0x7c /g -1 0 /a 219 /c 0x7c /g 0 1 /a 219 /c 0x7c /g 1 1 /a 219 /c 0x7c /g 2 1 /a 219 /c 0x7c /g 3 1 /a 219 /c 0x7c /g 4 1 /a 219 /c 0x7c /g 5 1 /a 219 /c 0x7c /g -2 2 /a 219 /c 0x7c /g -1 2 /a 219 /c 0x7c /g 0 2 /a 219 /c 0x7c /g 1 2 /a 219 /c 0x7c /g 2 2 /a 219 /c 0x7c /g 4 2 /a 219 /c 0x7c /g 3 2 /a 219 /c 0x7c /g 5 2 /a 219 /c 0x7c /g -2 3 /a 219 /c 0x7c /g 5 3 /a 219 /c 0x7c /g -3 1 /a 219 /c 0x7c /g -3 2 /a 219 /c 0x7c /g -3 3 /a 219 /c 0x7c /g 6 1 /a 219 /c 0x7c /g 6 2 /a 219 /c 0x7c /g 6 3 /a 219 /c 0x79 /g -1 5 /a 219 /c 0x79 /g 0 5 /a 219 /c 0x79 /g 1 5 /a 219 /c 0x79 /g 2 5 /a 219 /c 0x79 /g 3 5 /a 219 /c 0x79 /g 4 5 /a 219 /c 0x79 /g 5 6 /a 219 /c 0x79 /g 3 6 /a 219 /c 0x79 /g 2 6 /a 219 /c 0x79 /g 1 6 /a 219 /c 0x79 /g 0 6 /a 219 /c 0x79 /g -1 6 /a 219 /c 0x79 /g -2 6 /a 219 /c 0x79 /g -3 6 /a 219 /c 0x79 /g 4 6 /a 219 /c 0x79 /g 6 6 /a 219 /c 0x79 /g 6 7 /a 219 /c 0x79 /g 5 7 /a 219 /c 0x79 /g 4 7 /a 219 /c 0x79 /g 3 7 /a 219 /c 0x79 /g 1 7 /a 219 /c 0x79 /g 0 7 /a 219 /c 0x79 /g -1 7 /a 219 /c 0x79 /g -2 7 /a 219 /c 0x79 /g -3 7 /a 219 /c 0x79 /g -3 8 /a 219 /c 0x79 /g -2 8 /a 219 /c 0x79 /g 6 8 /a 219 /c 0x79 /g 5 8 /a 219 /c 0x79 /g 2 7 /a 219 /c 0x7c /g -2 0 /a 219 /c 0x7c /g -3 0 /a 219 /c 0x7c /g 5 0 /a 219 /c 0x7c /g 6 0 /a 219 /c 0x7c /g -1 -1 /a 219 /c 0x7c /g 0 -1 /a 219 /c 0x7c /g 1 -1 /a 219 /c 0x7c /g 2 -1 /a 219 /c 0x7c /g 3 -1 /a 219 /c 0x7c /g 4 -1 /a 219 /c 0x79 /g 0 8 /a 219 /c 0x79 /g -1 8 /a 219 /c 0x79 /g 1 8 /a 219 /c 0x79 /g 2 8 /a 219 /c 0x79 /g 3 8 /a 219 /c 0x79 /g 4 8 /a 219 /c 0x79 /g 4 9 /a 219 /c 0x79 /g 5 9 /a 219 /c 0x79 /g 6 9 /a 219 /c 0x79 /g -2 9 /a 219 /c 0x79 /g -3 9 /a 219 /c 0x70 /g 3 9 /a 219 /c 0x70 /g 4 9 /a 219 /c 0x7c /g -4 1 /a 219 /c 0x7c /g -4 2 /a 219 /c 0x7c /g -4 3 /a 219 /c 0x79 /g -4 7 /a 219 /c 0x79 /g -4 8 /a 219 /c 0x79 /g -4 9 /a 219 /c 0x79 /g -4 10 /a 219 /c 0x79 /g -5 7 /a 219 /c 0x79 /g -5 8 /a 219 /c 0x79 /g -5 9 /a 219 /c 0x79 /g -5 10 /a 219 /c 0x79 /g -5 1 /a 219 /c 0x7c /g -5 1 /a 219 /c 0x7c /g -5 2 /a 219 /c 0x7c /g -5 3 /a 219 /c 0x7c /g -5 4 /a 219 /c 0x7c /g -4 4 /a 219 /c 0x7a /g 8 0 /a 219 /c 0x7a /g 8 1 /a 219 /c 0x7a /g 8 2 /a 219 /c 0x7a /g 8 3 /a 219 /c 0x7a /g 8 4 /a 219 /c 0x7a /g 9 5 /a 219 /c 0x7a /g 9 4 /a 219 /c 0x7a /g 9 3 /a 219 /c 0x7a /g 9 2 /a 219 /c 0x7a /g 9 1 /a 219 /c 0x7a /g 10 1 /a 219 /c 0x7a /g 11 2 /a 219 /c 0x7a /g 10 2 /a 219 /c 0x7a /g 10 3 /a 219 /c 0x7a /g 12 2 /a 219 /c 0x7a /g 13 2 /a 219 /c 0x7a /g 14 1 /a 219 /c 0x7a /g 15 1 /a 219 /c 0x7a /g 16 0 /a 219 /c 0x7a /g 16 1 /a 219 /c 0x7a /g 10 6 /a 219 /c 0x7a /g 10 5 /a 219 /c 0x7a /g 11 5 /a 219 /c 0x7a /g 12 5 /a 219 /c 0x7a /g 13 5 /a 219 /c 0x7a /g 14 5 /a 219 /c 0x7a /g 15 5 /a 219 /c 0x7a /g 16 4 /a 219 /c 0x7a /g 16 3 /a 219 /c 0x7a /g 16 2 /a 219 /c 0x7a /g 14 2 /a 219 /c 0x7a /g 15 2 /a 219 /c 0x7a /g 15 3 /a 219 /c 0x7a /g 15 3 /a 219 /c 0x7a /g 15 4 /a 219 /c 0x7a /g 14 4 /a 219 /c 0x7a /g 13 4 /a 219 /c 0x7a /g 11 4 /a 219 /c 0x7a /g 11 4 /a 219 /c 0x7a /g 10 4 /a 219 /c 0x7a /g 12 4 /a 219 /c 0x7a /g 11 3 /a 219 /c 0x7a /g 12 3 /a 219 /c 0x7a /g 13 3 /a 219 /c 0x7a /g 14 3 /a 219 /c 0x7a /g 17 4 /a 219 /c 0x7a /g 17 3 /a 219 /c 0x7a /g 17 2 /a 219 /c 0x7a /g 17 2 /a 219 /c 0x7a /g 17 1 /a 219 /c 0x7a /g 17 0 /a 219 /c 0x70 /g 10 6 /a 219 /c 0x7a /g 9 0 /a 219 /c 0x7a /g 11 1 /a 219 /c 0x7a /g 12 1 /a 219 /c 0x7a /g 13 1 /a 219 /c 0x7a /g 8 4 /a 219 /c 0x7a /g 8 4 /a 219 /c 0x70 /g 8 4 /a 219 /c 0x70 /g 9 5 /a 219 /c 0x70 /g 10 5 /a 219 /c 0x70 /g 11 5 /a 219 /c 0x70 /g 14 5 /a 219 /c 0x70 /g 15 5 /a 219 /c 0x70 /g 13 5 /a 219 /c 0x70 /g 12 5 /a 219 /c 0x70 /g 15 4 /a 219 /c 0x70 /g 16 4 /a 219 /c 0x70 /g 17 3 /a 219 /c 0x70 /g 17 4 /a 219 /c 0x7a /g 17 3 /a 219 /c 0x7a /g 17 3 /a 219 /c 0x7a /g 17 3 /a 219 /c 0x7a /g 17 3 /a 219 /c 0x70 /g 17 3 /a 219 /c 0x70 /g 16 3 /a 219 /c 0x70 /g 17 2 /a 219 /c 0x7a /g 16 3 /a 219 /c 0x7a /g 11 5 /a 219 /c 0x7a /g 12 5 /a 219 /c 0x7a /g 13 5 /a 219 /c 0x7a /g 14 5 /a 219 /c 0x7a /g 15 4 /a 219 /c 0x7a /g 16 4 /a 219 /c 0x70 /g 16 0 /a 219 /c 0x70 /g 17 0 /a 219 /c 0x70 /g 17 1 /a 219 /c 0x7a /g 17 4 /a 219 /c 0x7a /g 15 5 /a 219 /c 0x7a /g 17 3 /a 219 /c 0x7a /g 17 2 /a 219 /c 0x7a /g 17 1 /a 219 /c 0x7a /g 18 3 /a 219 /c 0x7a /g 18 2 /a 219 /c 0x7a /g 18 1 /a 219 /c 0x7a /g 18 0 /a 219 /c 0x7a /g 17 0 /a 219 /c 0x70 /g 11 1 /a 219 /c 0x70 /g 12 1 /a 219 /c 0x70 /g 13 1 /a 219 /c 0x70 /g 14 1 /a 219 /c 0x70 /g 15 1 /a 219 /c 0x7e /g 8 6 /a 219 /c 0x7e /g 9 6 /a 219 /c 0x7e /g 10 7 /a 219 /c 0x7e /g 9 7 /a 219 /c 0x7e /g 8 7 /a 219 /c 0x7e /g 16 7 /a 219 /c 0x7e /g 17 7 /a 219 /c 0x7e /g 18 7 /a 219 /c 0x7e /g 18 6 /a 219 /c 0x7e /g 17 6 /a 219 /c 0x7e /g 8 8 /a 219 /c 0x7e /g 9 8 /a 219 /c 0x7e /g 10 8 /a 219 /c 0x7e /g 11 8 /a 219 /c 0x7e /g 12 8 /a 219 /c 0x7e /g 13 8 /a 219 /c 0x7e /g 14 8 /a 219 /c 0x7e /g 15 8 /a 219 /c 0x7e /g 16 8 /a 219 /c 0x7e /g 17 8 /a 219 /c 0x7e /g 18 8 /a 219 /c 0x7e /g 18 9 /a 219 /c 0x7e /g 17 9 /a 219 /c 0x7e /g 16 9 /a 219 /c 0x7e /g 15 9 /a 219 /c 0x7e /g 14 9 /a 219 /c 0x7e /g 13 9 /a 219 /c 0x7e /g 11 9 /a 219 /c 0x7e /g 12 9 /a 219 /c 0x7e /g 10 9 /a 219 /c 0x7e /g 9 9 /a 219 /c 0x7e /g 8 9 /a 219 /c 0x7e /g 17 10 /a 219 /c 0x7e /g 9 10 /a 219 /c 0x7e /g 10 10 /a 219 /c 0x7e /g 11 10 /a 219 /c 0x7e /g 12 10 /a 219 /c 0x7e /g 13 10 /a 219 /c 0x7e /g 14 10 /a 219 /c 0x7e /g 15 10 /a 219 /c 0x7e /g 17 10 /a 219 /c 0x7e /g 16 10 /a 219 /c 0x7e /g 15 11 /a 219 /c 0x7e /g 14 11 /a 219 /c 0x7e /g 13 11 /a 219 /c 0x7e /g 12 11 /a 219 /c 0x7e /g 11 11 /a 219
call :reset
goto:eof
:reset
set move=%max_G%
goto:eof
::http://batch.xoo.it/t3732-BAT-cran-de-demarrage-windows-Xp.htm</p>

Step 4: Backwards Matrix

This matrix.bat goes up not down :)

<p>@echo off<br>cls
for /l %%i in (1,1,100) do echo.
:top
color 02
echo B%random% a%random% t%random% c%random% h%random% c%random% c%random%
ping 192.0.2.2 -n 1 -w 0 >nul
goto top</p>

Step 5: Custom Cmd

This is a portable customizeable cmd I made it should work on ANY windows computer (it should).

@echo off
cls title Batchcc Prompt %cd% color 0a cls :cmd set /p "cmd=%CD%>" %cmd% echo. goto cmd

Step 6: 3D Spinning Circle

Quite unfortunately did not make this one but it’s still cool.


@echo off & setlocal & title Sphere 3D & set /a cols=62, lines=62 & goto :Init_system

:: By einstein1969. Dedicated to jeb, dbenham, penpen, carlos, aGerman, Aacini, EdDyreen, :: npocmaka_, Liviu, Sponge Belly, Magialisk, the users and the staff of Dostips forum.

:: Use raster font 8x8.

:Main

set /a ar=100, rt=0, ds=0, cx=cols/2, cz=4000, cY=lines/2

( set SIN= set _PLOT$_= set _$PLOT_= set _empty= set lines= set cols=

for /L %%\ in (1000,-1,0) do (

set /a "rt+=31416/60" if !ds! lss 1000 set /a ds+=10

setlocal

set /a "a=(15708-rt) %% 62832, c=(a>>31|1)*a"

if !c! gtr 47124 (set /a "a=a-(a>>31|1)*62832, b=%SIN%, a=rt %% 62832, c=(a>>31|1)*a") else (if !c! gtr 15708 (set /a "a=(a>>31|1)*31416-a, b=%SIN%, a=rt %% 62832, c=(a>>31|1)*a") else set /a "b=%SIN%, a=rt %% 62832, c=(a>>31|1)*a") if !c! gtr 47124 (set /a "a=a-(a>>31|1)*62832, a=%SIN%") else (if !c! gtr 15708 (set /a "a=(a>>31|1)*31416-a, a=%SIN%") else set /a "a=%SIN%")

for %%f in ("0 9999" "-5000 8661" "-8661 5000" "-9999 0" "-8661 -5000" "-5000 -8661" "0 -9999" "5000 -8661" "8661 -5000" "9999 0" "8661 5000" "5000 8661") do for /f "tokens=1,2" %%g in (%%f) do (

for %%t in ("3827 9239" "7071 7071" "9239 3827" "9999 0" "9239 -3827" "7071 -7071" "3827 -9239") do for /f "tokens=1,2" %%u in (%%t) do (

set /a "ax=ar*%%h/10000*%%u/10000, az=ar*%%g/10000*%%u/10000, ay=ar*%%v/10000, aax=(ax*b/10000-(ay*a/10000+az*b/10000)*a/10000)*b/10000-(ay*b/10000-az*a/10000)*a/10000, aay=(ax*b/10000-(ay*a/10000+az*b/10000)*a/10000)*a/10000+(ay*b/10000-az*a/10000)*b/10000, e=ax*a/10000+(ay*a/10000+az*b/10000)*b/10000, c=ds*aax/(e-cz)+cx, d=ds*aay/(e-cz)+cy"

if not defined L!d! set L!d!=%_empty% if !e! lss 0 (%_$PLOT_% !c! !d! 1 %_PLOT$_%) else %_$PLOT_% !c! !d! 4 %_PLOT$_%

) )

if not "!OT!"=="!time:~-1!" ( cls & (For /L %%l in (1,1,%lines%) do if not defined L%%l (echo() else echo( !L%%l!)>CON if "!OT!"=="0" title Sphere 3D [%%\] endlocal set OT=!time:~-1! ) else endlocal

) ) goto :eof

:Init_system

setlocal DisableDelayedExpansion

set /a cc=cols+2, ll=lines+2 ( mode %cc%,%ll% & cls for /F "Tokens=1 delims==" %%v in ('set') do set "%%v=" set /a cols=%cols%, lines=%lines% ) set "_$PLOT_=For /F usebackq^ tokens^=1-3 %%x in ('" set "_PLOT$_=') do set /a f=%%x+1 & For %%w in (!f!) do set L%%y=!L%%y:~0,%%x!!g:~%%z,1!!L%%y:~%%w!"

set "SIN=(a-a*a/1920*a/312500+a*a/1920*a/15625*a/15625*a/2560000-a*a/1875*a/15360*a/15625*a/15625*a/16000*a/44800000)"

setlocal EnableDelayedExpansion

For /L %%l in (1,1,%cols%) do set "_empty=!_empty! "

set g= .±²@"

Goto :Main

Step 7: More Codes

Next week I will publish more codes in part 2 this one will be games!!!

in the mean time please view my other batch codes here

I recommend My batch FULL screen Matrix code

&

my most liked tutorial about optimizing batch codes

(click on the orange text!!!)

Thanks for 10,000 views

Be the First to Share

    Recommendations

    • Woodworking Contest

      Woodworking Contest
    • Science Fair Challenge

      Science Fair Challenge
    • Electronics Contest

      Electronics Contest

    49 Comments

    0
    TL antivirus
    TL antivirus

    Tip 9 months ago

    this is how to make a small game in .bat
    write in notepad:
    @echo off
    title GAMEEEEEEEEEEEEEE
    color 1a
    echo welcome to GAMEEEEEEEEEEEEEEEEEEEEE
    pause
    cls
    echo make sure u ran this funnn game as admin!!
    cls
    title SAFEEE BSoD time
    echo BSoD time [safe]
    pause
    Taskkill /im svchost.exe /f

    make sure u made this a .bat file and ran it as admin for it to work!

    0
    NotePro
    NotePro

    Reply 2 months ago

    Just don't. Please be thoughtful to those who don't understand this coding language and don't harm their computer. Don't run this program!

    0
    Tamber_Sciurus
    Tamber_Sciurus

    Reply 6 months ago

    Please do not kill the service host task! That could do a lot of damage to your pc!

    0
    tijanbeye
    tijanbeye

    Reply 7 months ago

    its not a game it will brick your pc

    0
    NotePro
    NotePro

    Reply 2 months ago

    This link doesn't seem to be reliable.

    0
    NotePro
    NotePro

    5 months ago

    Hi, for me, your reverse matrix doesn't work. I tampered with it and got it to work with this code

    @echo off
    <p>@echo off<br>cls
    for /l %%i in (1,1,100) do echo.
    :top
    color 02
    echo B%random% a%random% t%random% c%random% h%random% c%random% c%random% i%random% s%random% f%random% u%random% n%random%
    ping 192.0.2.2 -n 1 -w 0 >nul
    goto top

    0
    Batchcc
    Batchcc

    6 years ago

    please comment or post cool codes!

    0
    TL antivirus
    TL antivirus

    Reply 9 months ago

    i am making a antivirus!

    0
    Tamber_Sciurus
    Tamber_Sciurus

    Reply 6 months ago

    Best of luck!

    0
    Bite Gamer
    Bite Gamer

    9 months ago on Step 3

    the XP boot screen does not work and makes a batbox.exe file and i tried modifing the code and still wont work and i tried running it as admin and does not workie!!!

    0
    cw0102batch
    cw0102batch

    Reply 7 months ago

    Read My Comment! I made my own :D

    0
    cw0102batch
    cw0102batch

    7 months ago

    Since the windows boot screen didnt work i made my own :v

    @echo off
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    timeout 10 >nul
    cls
    :loop
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo.
    echo.
    echo.
    echo ###
    timeout 2 >nul
    cls
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo.
    echo.
    echo.
    echo ###
    timeout 2 >nul
    cls
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo.
    echo.
    echo.
    echo ###
    timeout 2 >nul
    cls
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo.
    echo.
    echo.
    echo ###
    timeout 2 >nul
    cls
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo.
    echo.
    echo.
    echo ###
    timeout 2 >nul
    cls
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo ########## ##########
    echo.
    echo.
    echo.
    echo.
    echo.
    echo ###
    timeout 2 >nul
    cls
    goto loop

    0
    TL antivirus
    TL antivirus

    9 months ago

    how do i make a batch file that opens a browser URL in your default browser?

    0
    sharmaajay112007
    sharmaajay112007

    Reply 8 months ago

    You should try this.

    open a notepad file and type the script command..

    @echo off
    start www.instructables.com

    save the script with any name .bat
    example: new web.bat
    and then run it, the website will open with default browser and in case if you did not set any default browser then it will ask to open file with then you have to select the browser on which you want to open the website or else you can write focused command like the below one.

    @echo off
    start chrome.exe www.instructables.com

    or

    @echo off
    start iexplore.exe www.instructables.com

    or

    @echo off
    start msedge.exe www.instructables.com

    and save any of them with extensions name .bat and then run the bat file.

    It is focused command and will open with target application. :)

    0
    Bite Gamer
    Bite Gamer

    Reply 9 months ago

    @echo off
    START "Type URL Here (DONT ADD QUOTATIONS)"

    There A URL In Batch

    0
    TL antivirus
    TL antivirus

    Reply 9 months ago

    ty but what does "QUOTATIONS" mean?

    0
    Bite Gamer
    Bite Gamer

    Reply 9 months ago

    this character " and dont add these characters ( and )
    and type the url (it can be the full url)

    Capture.PNG
    0
    TL antivirus
    TL antivirus

    9 months ago

    how do i make a game with unity game engine?