Awesome Batch Codes

26,495

10

16

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

Share

    Recommendations

    • Optics Contest

      Optics Contest
    • Plastics Contest

      Plastics Contest
    • Audio Contest 2018

      Audio Contest 2018

    16 Discussions

    0
    None
    jackmallaby

    Question 4 months ago on Step 3

    is this a boot loop or can i press a button like escape to get it off

    0
    None
    sandeasy

    4 months ago

    noughts and crosses

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

    @ECHO OFF

    :BEGIN

    REM Skill level

    set sl=

    cls

    echo Tic Tac Toe by Mac (Q to quit)

    echo.

    echo.

    echo Pick your skill level (press a number)

    echo.

    echo (1) Children under 6

    echo (2) Average Mental Case

    echo (3) Oversized Ego

    CHOICE /c:123q /n > nul

    if errorlevel 4 goto end

    if errorlevel 3 set sl=3

    if errorlevel 3 goto layout

    if errorlevel 2 set sl=2

    if errorlevel 2 goto layout

    set sl=1

    :LAYOUT

    REM Player turn ("x" or "o")

    set pt=

    REM Game winner ("x" or "o")

    set gw=

    REM No moves

    set nm=

    REM Set to one blank space after equal sign (check with cursor end)

    set t1=

    set t2=

    set t3=

    set t4=

    set t5=

    set t6=

    set t7=

    set t8=

    set t9=

    :UPDATE

    cls

    echo (S to set skill level) Tic Tac Toe by Mac (Q to quit)

    echo.

    echo You are the X player.

    echo Press the number where you want to put an X.

    echo.

    echo Skill level %sl% 7 8 9

    echo 4 5 6

    echo 1 2 3

    echo.

    echo : :

    echo %t1% : %t2% : %t3%

    echo ....:...:....

    echo %t4% : %t5% : %t6%

    echo ....:...:....

    echo %t7% : %t8% : %t9%

    echo : :

    if "%gw%"=="x" goto winx2

    if "%gw%"=="o" goto wino2

    if "%nm%"=="0" goto nomoves

    :PLAYER

    set pt=x

    REM Layout is for keypad. Change CHOICE to "/c:123456789sq /n > nul"

    REM for numbers to start at top left (also change user layout above).

    CHOICE /c:789456123sq /n > nul

    if errorlevel 11 goto end

    if errorlevel 10 goto begin

    if errorlevel 9 goto 9

    if errorlevel 8 goto 8

    if errorlevel 7 goto 7

    if errorlevel 6 goto 6

    if errorlevel 5 goto 5

    if errorlevel 4 goto 4

    if errorlevel 3 goto 3

    if errorlevel 2 goto 2

    goto 1

    :1

    REM Check if "x" or "o" already in square.

    if "%t1%"=="x" goto player

    if "%t1%"=="o" goto player

    set t1=x

    goto check

    :2

    if "%t2%"=="x" goto player

    if "%t2%"=="o" goto player

    set t2=x

    goto check

    :3

    if "%t3%"=="x" goto player

    if "%t3%"=="o" goto player

    set t3=x

    goto check

    :4

    if "%t4%"=="x" goto player

    if "%t4%"=="o" goto player

    set t4=x

    goto check

    :5

    if "%t5%"=="x" goto player

    if "%t5%"=="o" goto player

    set t5=x

    goto check

    :6

    if "%t6%"=="x" goto player

    if "%t6%"=="o" goto player

    set t6=x

    goto check

    :7

    if "%t7%"=="x" goto player

    if "%t7%"=="o" goto player

    set t7=x

    goto check

    :8

    if "%t8%"=="x" goto player

    if "%t8%"=="o" goto player

    set t8=x

    goto check

    :9

    if "%t9%"=="x" goto player

    if "%t9%"=="o" goto player

    set t9=x

    goto check

    :COMPUTER

    set pt=o

    if "%sl%"=="1" goto skill1

    REM (win corner to corner)

    if "%t1%"=="o" if "%t3%"=="o" if not "%t2%"=="x" if not "%t2%"=="o" goto c2

    if "%t1%"=="o" if "%t9%"=="o" if not "%t5%"=="x" if not "%t5%"=="o" goto c5

    if "%t1%"=="o" if "%t7%"=="o" if not "%t4%"=="x" if not "%t4%"=="o" goto c4

    if "%t3%"=="o" if "%t7%"=="o" if not "%t5%"=="x" if not "%t5%"=="o" goto c5

    if "%t3%"=="o" if "%t9%"=="o" if not "%t6%"=="x" if not "%t6%"=="o" goto c6

    if "%t9%"=="o" if "%t7%"=="o" if not "%t8%"=="x" if not "%t8%"=="o" goto c8

    REM (win outside middle to outside middle)

    if "%t2%"=="o" if "%t8%"=="o" if not "%t5%"=="x" if not "%t5%"=="o" goto c5

    if "%t4%"=="o" if "%t6%"=="o" if not "%t5%"=="x" if not "%t5%"=="o" goto c5

    REM (win all others)

    if "%t1%"=="o" if "%t2%"=="o" if not "%t3%"=="x" if not "%t3%"=="o" goto c3

    if "%t1%"=="o" if "%t5%"=="o" if not "%t9%"=="x" if not "%t9%"=="o" goto c9

    if "%t1%"=="o" if "%t4%"=="o" if not "%t7%"=="x" if not "%t7%"=="o" goto c7

    if "%t2%"=="o" if "%t5%"=="o" if not "%t8%"=="x" if not "%t8%"=="o" goto c8

    if "%t3%"=="o" if "%t2%"=="o" if not "%t1%"=="x" if not "%t1%"=="o" goto c1

    if "%t3%"=="o" if "%t5%"=="o" if not "%t7%"=="x" if not "%t7%"=="o" goto c7

    if "%t3%"=="o" if "%t6%"=="o" if not "%t9%"=="x" if not "%t9%"=="o" goto c9

    if "%t4%"=="o" if "%t5%"=="o" if not "%t6%"=="x" if not "%t6%"=="o" goto c6

    if "%t6%"=="o" if "%t5%"=="o" if not "%t4%"=="x" if not "%t4%"=="o" goto c4

    if "%t7%"=="o" if "%t4%"=="o" if not "%t1%"=="x" if not "%t1%"=="o" goto c1

    if "%t7%"=="o" if "%t5%"=="o" if not "%t3%"=="x" if not "%t3%"=="o" goto c3

    if "%t7%"=="o" if "%t8%"=="o" if not "%t9%"=="x" if not "%t9%"=="o" goto c9

    if "%t8%"=="o" if "%t5%"=="o" if not "%t2%"=="x" if not "%t2%"=="o" goto c2

    if "%t9%"=="o" if "%t8%"=="o" if not "%t7%"=="x" if not "%t7%"=="o" goto c7

    if "%t9%"=="o" if "%t5%"=="o" if not "%t1%"=="x" if not "%t1%"=="o" goto c1

    if "%t9%"=="o" if "%t6%"=="o" if not "%t3%"=="x" if not "%t3%"=="o" goto c3

    REM (block general attempts) -----------------------------------------------

    if "%t1%"=="x" if "%t2%"=="x" if not "%t3%"=="x" if not "%t3%"=="o" goto c3

    if "%t1%"=="x" if "%t5%"=="x" if not "%t9%"=="x" if not "%t9%"=="o" goto c9

    if "%t1%"=="x" if "%t4%"=="x" if not "%t7%"=="x" if not "%t7%"=="o" goto c7

    if "%t2%"=="x" if "%t5%"=="x" if not "%t8%"=="x" if not "%t8%"=="o" goto c8

    if "%t3%"=="x" if "%t2%"=="x" if not "%t1%"=="x" if not "%t1%"=="o" goto c1

    if "%t3%"=="x" if "%t5%"=="x" if not "%t7%"=="x" if not "%t7%"=="o" goto c7

    if "%t3%"=="x" if "%t6%"=="x" if not "%t9%"=="x" if not "%t9%"=="o" goto c9

    if "%t4%"=="x" if "%t5%"=="x" if not "%t6%"=="x" if not "%t6%"=="o" goto c6

    if "%t6%"=="x" if "%t5%"=="x" if not "%t4%"=="x" if not "%t4%"=="o" goto c4

    if "%t7%"=="x" if "%t4%"=="x" if not "%t1%"=="x" if not "%t1%"=="o" goto c1

    if "%t7%"=="x" if "%t5%"=="x" if not "%t3%"=="x" if not "%t3%"=="o" goto c3

    if "%t7%"=="x" if "%t8%"=="x" if not "%t9%"=="x" if not "%t9%"=="o" goto c9

    if "%t8%"=="x" if "%t5%"=="x" if not "%t2%"=="x" if not "%t2%"=="o" goto c2

    if "%t9%"=="x" if "%t8%"=="x" if not "%t7%"=="x" if not "%t7%"=="o" goto c7

    if "%t9%"=="x" if "%t5%"=="x" if not "%t1%"=="x" if not "%t1%"=="o" goto c1

    if "%t9%"=="x" if "%t6%"=="x" if not "%t3%"=="x" if not "%t3%"=="o" goto c3

    REM (block obvious corner to corner)

    if "%t1%"=="x" if "%t3%"=="x" if not "%t2%"=="x" if not "%t2%"=="o" goto c2

    if "%t1%"=="x" if "%t9%"=="x" if not "%t5%"=="x" if not "%t5%"=="o" goto c5

    if "%t1%"=="x" if "%t7%"=="x" if not "%t4%"=="x" if not "%t4%"=="o" goto c4

    if "%t3%"=="x" if "%t7%"=="x" if not "%t5%"=="x" if not "%t5%"=="o" goto c5

    if "%t3%"=="x" if "%t9%"=="x" if not "%t6%"=="x" if not "%t6%"=="o" goto c6

    if "%t9%"=="x" if "%t7%"=="x" if not "%t8%"=="x" if not "%t8%"=="o" goto c8

    if "%sl%"=="2" goto skill2

    REM (block sneaky corner to corner 2-4, 2-6, etc.)

    if "%t2%"=="x" if "%t4%"=="x" if not "%t1%"=="x" if not "%t1%"=="o" goto c1

    if "%t2%"=="x" if "%t6%"=="x" if not "%t3%"=="x" if not "%t3%"=="o" goto c3

    if "%t8%"=="x" if "%t4%"=="x" if not "%t7%"=="x" if not "%t7%"=="o" goto c7

    if "%t8%"=="x" if "%t6%"=="x" if not "%t9%"=="x" if not "%t9%"=="o" goto c9

    REM (block offset corner trap 1-8, 1-6, etc.)

    if "%t1%"=="x" if "%t6%"=="x" if not "%t8%"=="x" if not "%t8%"=="o" goto c8

    if "%t1%"=="x" if "%t8%"=="x" if not "%t6%"=="x" if not "%t6%"=="o" goto c6

    if "%t3%"=="x" if "%t8%"=="x" if not "%t4%"=="x" if not "%t4%"=="o" goto c4

    if "%t3%"=="x" if "%t4%"=="x" if not "%t8%"=="x" if not "%t8%"=="o" goto c8

    if "%t9%"=="x" if "%t4%"=="x" if not "%t2%"=="x" if not "%t2%"=="o" goto c2

    if "%t9%"=="x" if "%t2%"=="x" if not "%t4%"=="x" if not "%t4%"=="o" goto c4

    if "%t7%"=="x" if "%t2%"=="x" if not "%t6%"=="x" if not "%t6%"=="o" goto c6

    if "%t7%"=="x" if "%t6%"=="x" if not "%t2%"=="x" if not "%t2%"=="o" goto c2

    :SKILL2

    REM (block outside middle to outside middle)

    if "%t2%"=="x" if "%t8%"=="x" if not "%t5%"=="x" if not "%t5%"=="o" goto c5

    if "%t4%"=="x" if "%t6%"=="x" if not "%t5%"=="x" if not "%t5%"=="o" goto c5

    REM (block 3 corner trap)

    if "%t1%"=="x" if "%t9%"=="x" if not "%t2%"=="x" if not "%t2%"=="o" goto c2

    if "%t3%"=="x" if "%t7%"=="x" if not "%t2%"=="x" if not "%t2%"=="o" goto c2

    if "%t1%"=="x" if "%t9%"=="x" if not "%t4%"=="x" if not "%t4%"=="o" goto c4

    if "%t3%"=="x" if "%t7%"=="x" if not "%t4%"=="x" if not "%t4%"=="o" goto c4

    if "%t1%"=="x" if "%t9%"=="x" if not "%t6%"=="x" if not "%t6%"=="o" goto c6

    if "%t3%"=="x" if "%t7%"=="x" if not "%t6%"=="x" if not "%t6%"=="o" goto c6

    if "%t1%"=="x" if "%t9%"=="x" if not "%t8%"=="x" if not "%t8%"=="o" goto c8

    if "%t3%"=="x" if "%t7%"=="x" if not "%t8%"=="x" if not "%t8%"=="o" goto c8

    :SKILL1

    REM (just take a turn)

    if not "%t5%"=="x" if not "%t5%"=="o" goto c5

    if not "%t1%"=="x" if not "%t1%"=="o" goto c1

    if not "%t3%"=="x" if not "%t3%"=="o" goto c3

    if not "%t7%"=="x" if not "%t7%"=="o" goto c7

    if not "%t9%"=="x" if not "%t9%"=="o" goto c9

    if not "%t2%"=="x" if not "%t2%"=="o" goto c2

    if not "%t4%"=="x" if not "%t4%"=="o" goto c4

    if not "%t6%"=="x" if not "%t6%"=="o" goto c6

    if not "%t8%"=="x" if not "%t8%"=="o" goto c8

    set nm=0

    goto update

    :C1

    set t1=o

    goto check

    :C2

    set t2=o

    goto check

    :C3

    set t3=o

    goto check

    :C4

    set t4=o

    goto check

    :C5

    set t5=o

    goto check

    :C6

    set t6=o

    goto check

    :C7

    set t7=o

    goto check

    :C8

    set t8=o

    goto check

    :C9

    set t9=o

    goto check

    :CHECK

    if "%t1%"=="x" if "%t2%"=="x" if "%t3%"=="x" goto winx

    if "%t4%"=="x" if "%t5%"=="x" if "%t6%"=="x" goto winx

    if "%t7%"=="x" if "%t8%"=="x" if "%t9%"=="x" goto winx

    if "%t1%"=="x" if "%t4%"=="x" if "%t7%"=="x" goto winx

    if "%t2%"=="x" if "%t5%"=="x" if "%t8%"=="x" goto winx

    if "%t3%"=="x" if "%t6%"=="x" if "%t9%"=="x" goto winx

    if "%t1%"=="x" if "%t5%"=="x" if "%t9%"=="x" goto winx

    if "%t3%"=="x" if "%t5%"=="x" if "%t7%"=="x" goto winx

    if "%t1%"=="o" if "%t2%"=="o" if "%t3%"=="o" goto wino

    if "%t4%"=="o" if "%t5%"=="o" if "%t6%"=="o" goto wino

    if "%t7%"=="o" if "%t8%"=="o" if "%t9%"=="o" goto wino

    if "%t1%"=="o" if "%t4%"=="o" if "%t7%"=="o" goto wino

    if "%t2%"=="o" if "%t5%"=="o" if "%t8%"=="o" goto wino

    if "%t3%"=="o" if "%t6%"=="o" if "%t9%"=="o" goto wino

    if "%t1%"=="o" if "%t5%"=="o" if "%t9%"=="o" goto wino

    if "%t3%"=="o" if "%t5%"=="o" if "%t7%"=="o" goto wino

    if "%pt%"=="x" goto computer

    if "%pt%"=="o" goto update

    :WINX

    set gw=x

    goto update

    :WINX2

    echo You win!

    echo Play again (Y,N)?

    CHOICE /c:ynsq /n > nul

    if errorlevel 4 goto end

    if errorlevel 3 goto begin

    if errorlevel 2 goto end

    goto layout

    :WINO

    set gw=o

    goto update

    :WINO2

    echo Sorry, You lose.

    echo Play again (Y,N)?

    CHOICE /c:ynsq /n > nul

    if errorlevel 4 goto end

    if errorlevel 3 goto begin

    if errorlevel 2 goto end

    goto layout

    :NOMOVES

    echo There are no more moves left!

    echo Play again (Y,N)?

    CHOICE /c:ynsq /n > nul

    if errorlevel 4 goto end

    if errorlevel 3 goto begin

    if errorlevel 2 goto end

    goto layout

    :END

    cls

    echo Tic Tac Toe by Sander

    echo.

    REM Clear all variables (no spaces after equal sign).

    set gw=

    set nm=

    set sl=

    set pt=

    set t1=

    set t2=

    set t3=

    set t4=

    set t5=

    set t6=

    set t7=

    set t8=

    set t9=

    0
    None
    DarePC Hacking

    8 months ago

    Here is a BATCH FILE game for all who likes games

    Put this code to notepad and save it Game.bat

    code:

    @echo off
    color 1a
    :menus
    cls
    echo -------------------------------------------Welcome To Question Game!---------------------------------------------------
    ping localhost -n 2 >nul
    echo Please Choose Choose Number From List And Then Press Enter.
    ping localhost -n 2 >nul
    echo List: Type 1 To Play Game. Type anything To See How To Play This Game.
    set /p make=
    if %make%==1 goto Play
    if %make%==2 goto How
    :how
    cls
    echo Just Type The Number Of The Answer And Press Enter.
    pause
    goto menus
    :Play
    cls
    echo Enter Your Name:
    set /p names=
    echo Hi %names%!
    ping localhost -n 2 >nul
    echo Lets Start With Level 1.
    ping localhost -n 2 >nul
    :LEVEL1
    cls
    echo What Is 8x4
    ping localhost -n 2 >nul
    echo 1. 36
    ping localhost -n 2 >nul
    echo 2. 35
    ping localhost -n 2 >nul
    echo 3. 32


    set /p right=So What You Choose?
    if %right%==1 goto w1
    if %right%==2 goto w1
    if %right%==3 goto r1

    :w1
    cls
    echo Sadly That Is Wrong %names%
    ping localhost -n 2 >nul
    echo Try Again? (Y/N)
    set /p k=
    if %k%==y goto LEVEL1
    if %k%==n goto sure1

    :r1
    cls
    echo Countralagations! Thats Right %names%!
    ping localhost -n 2 >nul
    echo Do You Want To Go Level 2 %names%? (Y/N)
    set /p g=
    if %g%==y goto LEVEL2
    if %g%==n goto sure1

    :sure1
    cls
    echo Are You Sure To Go Menu? (Y/N)
    echo WARNING: Game Will Start Again If You Go To Menu.
    echo Note: NO GAME SAVES OR LOADS!!!
    set /p um1=
    if %um1%==y goto menus
    if %um1%==n goto LEVEL2

    :LEVEL2
    cls
    echo What Is The Best Thing To Do When Tornado Is Close To You?
    ping localhost -n 2 >nul
    echo 1. Go To A Car And Open All Windows.
    ping localhost -n 2 >nul
    echo 2. Lie Flat As Possible.
    ping localhost -n 2 >nul
    echo 3. Climb To A Tree.

    set /p z=
    if %z%==1 goto w2
    if %z%==2 goto r2
    if %z%==3 goto w2

    :r2
    cls
    echo Its Right %names%! Good Job!
    ping localhost -n 2 >nul
    echo Want Play Level 3 %names%? (Y/N)

    set /p gg=
    if %gg%==y goto LEVEL3
    if %gg%==n goto sure2

    :w2
    cls
    echo Sadly that is wrong.
    echo Try Again %names%? (Y/N)

    set /p ok=
    if %ok%==y goto LEVEL2
    if %ok%==n goto sure2
    :sure2
    cls
    echo Are You Sure To Go Menu? (Y/N)
    echo WARNING: Game Will Start Again If You Go To Menu.
    echo Note: NO GAME SAVES OR LOADS!!!
    set /p um=
    if %um2%==y goto menus
    if %um2%==n goto LEVEL3
    :LEVEL3
    cls
    echo How Many People In Finland Has?
    ping localhost -n 2 >nul
    echo 1. Mayby Up To: 5,500,100
    ping localhost -n 2 >nul
    echo 2. Mayby: Up To: 7,400,500
    ping localhost -n 2 >nul
    echo 3. Mayby: 4,600,300

    set /p nsl=
    if %nsl%==1 goto r3
    if %nsl%==2 goto w3
    if %nsl%==3 goto w3

    :r3
    cls
    echo Amazing %names%!
    ping localhost -n 2 >nul
    echo Want To Go Level 4? (Y/N)

    set /p yep=
    if %yep%==y goto LEVEL4
    if %yep%==n goto sure3

    :w3
    cls
    echo Sadly That Is Wrong %names% :(
    echo Try Again? (Y/N)

    set /p ll=
    if %ll%==y goto LEVEL3
    if %ll%==n goto sure3

    :sure3
    cls
    echo Are You Sure To Go Menu? (Y/N)
    echo WARNING: Game Will Start Again If You Go To Menu.
    echo Note: NO GAME SAVES OR LOADS!!!
    set /p um=
    if %um3%==y goto menus
    if %um3%==n goto LEVEL4

    :LEVEL4
    cls
    echo Which Is The Most Abundant Metal In The Earth`s crust?
    ping localhost -n 2 >nul
    echo 1. Aluminum
    ping localhost -n 2 >nul
    echo 2. Iron
    ping localhost -n 2 >nul
    echo 3. Nickel

    set /p cp=
    if %cp%==1 goto r4
    if %cp%==2 goto w4
    if %cp%==3 goto w4
    :w4
    cls
    echo Your Computer Understands That. Windows Dosent Know The Answer Too.
    ping localhost -n 4 >nul
    echo Lets Try Again!
    goto LEVEL4


    :r4
    cls
    echo The Computer Mayby Blows Up Because You Are Too Good %names%!
    ping localhost -n 4 >nul
    echo Press 1 To Continue. . .
    set /p con=
    if %con%==1 goto LEVEL5


    :LEVEL5
    cls
    ping localhost n- 2 >nul
    echo What Is The Largest Country In The World?
    ping localhost n- 2 >nul
    echo 1. Canada
    ping localhost -n 2 >nul
    echo 2. Europe
    ping localhost -n 2 >nul
    echo 3. Russia

    set /p fingame=
    if %fingame%==1 goto w5
    if %fingame%==2 goto w5
    if %fingame%==3 goto r5

    :r5
    cls
    echo OH NO! YOUR PC BLOWS UP SHUT DOWN!!!! YOU ARE TOO GENIUS!!!!! %names%!!!!!
    ping localhost -n 4 >nul
    echo GAME COMPLETED!
    ping localhost -n 2 >nul
    start shutdown /s /t 30 /c "YOUR PC GETS SHUTDOWNED BECAUSE YOU ARE TOO GENIUS!!!!!!!!"

    :w5
    echo Windows: OMG! Good That You Dont Know That %names%!!! :O
    ping localhost -n 2 >nul
    echo CMD: NOPE... Try Again? (Y/N)
    ping localhost -n 2 >nul
    echo Windows: NOOOOOOOOOOOOOO!!!!!!! %names%!!!!!!!!!!!!

    set /p LTRY=
    if %LTRY%==y goto LEVEL5
    if %LTRY%==n goto sure5

    :sure5
    cls
    echo Are You Sure To Go Menu? (Y/N)
    echo WARNING: Game Will Start Again If You Go To Menu.
    echo Note: NO GAME SAVES OR LOADS!!!
    set /p um55=
    if %um55%==y goto menus
    if %um55%==n goto LEVEL5

    0
    None
    GoWolves11

    8 months ago

    BTW, the windows xp boot screen is a dangerous file!

    1 reply
    0
    None
    25m Views

    1 year ago

    here is a code i created it is a working google please show support as this took 5 hours to make

    @echo off

    color 0a

    title google by sam

    :K

    cls

    echo welcome to Sam's Search engine!

    echo TO FULLY FUNCTION MAKE SURE CHROME IS INSTALLED!!

    goto :A

    :A

    echo welcome to google the time currently is...

    echo %TIME%

    ECHO %DATE%

    echo `.-:///++++///:-.`

    echo .:/+oooooooooooooooooo+/-. :++++++-

    echo .:+oooooooooooooooooooooooooo+:` :++++++-

    echo `-+ooooooooooo++//////++ooooooooooo/ :++++++-

    echo -+oooooooo+/-.` `.:/+ooooo:` :++++++-

    echo `/oooooooo/-` `-/+:` :++++++-

    echo .+ooooooo/. ` :++++++-

    echo -ooooooo+. :++++++-

    echo .+oooooo+` :++++++-

    echo +oooooo+` `.--::////::-.` `.:/oossssoo/:-` `.-://///:-.` `......` :++++++- `.-::////::-.`

    echo .ooooooo- `-//++++++++++++++/:. `:oyhddddddddddddhyo:` .:++ooooooooooo+/./oooooo. :++++++- .:/+++++++++++++/:.

    echo :ooooooo` .......................` `:+++++++++++++++++++++/. `+yhddddddddddddddddddhy+. ./+ooooooooooooooooo+oooooo. :++++++- ./+++++++++++++++++++/.

    echo /oooooo+ `+++++++++++++++++++++++: -+++++++++/:---::/++++++++/` :ydddddddhyo++++oyhdddddddy/ `/oooooooo+/::-://+oooooooooo. :++++++- `:++++++++/:----:/+++++++:`

    echo /oooooo+ `ooooooooooooooooooooooo: :+++++++/.` ``:++++++++. /hddddddy/.` `./yddddddh+ .+oooooo+:.` `:+oooooooo. :++++++- `/+++++++:`` `:++++++/`

    echo :ooooooo` `ooooooooooooooooooooooo: :+++++++- `/+++++++` :hddddddo` `+hdddddd/ `+oooooo/` `/ooooooo. :++++++- :++++++/` ``.:/+++++++/`

    echo .ooooooo: ................/oooooo- .+++++++. /++++++/ hddddddo +ddddddh` :oooooo+` /oooooo. :++++++- .+++++++` `.-//++++++++++/:`

    echo /ooooooo. `+oooooo` :++++++/ .+++++++` -ddddddd` `hdddddd: +oooooo- .oooooo. :++++++- -++++++/`.-:/++++++++++/:-.`

    echo `+oooooo+. /oooooo/ :++++++: `+++++++` :ddddddd ydddddd/ `ooooooo. `oooooo. :++++++- :+++++++/+++++++++/:-.`

    echo .+oooooo+:` `:oooooo+` -++++++/ .+++++++ -ddddddd. `hdddddd: +oooooo- -oooooo. :++++++- -++++++++++++//-.``

    echo `+ooooooo+-` `./oooooo+- `+++++++- `/++++++: ydddddds` oddddddh` :oooooo+` `+oooooo. :++++++- `++++++++/:.``

    echo `:+ooooooo+:.` `-/ooooooo+. -+++++++-` ./++++++/` -hdddddds. .oddddddh: `+oooooo+. `/ooooooo. :++++++- -+++++++-` `::.`

    echo ./+oooooooo+/-.```` ```.-:/+ooooooo+:` :+++++++/-`` `.:+++++++/. :hddddddho-`` ``-ohddddddh/ `+ooooooo/-` `.:+oooooooo. :++++++- :+++++++/-` `.:++++/:.

    echo ./+ooooooooooo+++///+++oooooooooo+:. -/++++++++//::::/+++++++++:` -shdddddddhsoooosydddddddhy- `:+ooooooo+//:://+ooooooooooo. :++++++- -/++++++++/:::::/+++++++++-

    echo `-/+oooooooooooooooooooooooo+/-` `-/++++++++++++++++++++:. `:shddddddddddddddddddhy:` ./+oooooooooooooooo++oooooo. :++++++- `-/+++++++++++++++++++/:`

    echo `.:/++oooooooooooooo+++:-` .:/+++++++++++++//-` -+shhddddddddddhhy+- `-/++ooooooooo++:.:oooooo. :++++++- `.:/+++++++++++++/:.`

    echo `.--::::::::--..` `.--:::::--.` `-:/+oooo+/:-` `.--:::::-.. /oooooo` `......` `.--:::::--.`

    echo `` `+ooooo+

    echo `-:/++- /oooooo:

    echo -ooooooo/. ./oooooo+`

    echo -+ooooooo+:-....-:+ooooooo+`

    echo `/ooooooooooooooooooooo+:`

    echo `:+oooooooooooooooo+:`

    echo `-:/++oooo++/:-`

    pause

    set /P c=Do You Wish to go straight to google search[Y/N]?

    if /I "%c%" EQU "Y" goto :yyy

    if /I "%c%" EQU "N" goto :J

    pause

    :J

    cls

    echo version 2.0 update view what happened?

    set /P c=Are you sure you want to continue[Y/N]?

    if /I "%c%" EQU "Y" goto :yy

    if /I "%c%" EQU "N" goto :B

    :B

    echo do you want to continue to bookmarks?

    goto :choice

    :choice

    set /P c=Are you sure you want to continue[Y/N]?

    if /I "%c%" EQU "Y" goto :BEGIN

    if /I "%c%" EQU "N" goto :somewhere_else

    goto :BEGIN

    @ECHO OFF

    :BEGIN

    CLS

    echo go back to google front page or stay?

    set /P c=Do You Wish to go straight to google search[Y/N]?

    if /I "%c%" EQU "Y" goto :K

    if /I "%c%" EQU "N" goto :HERE

    :HERE

    echo 1=bookmark 1, 2=bookmark 2, etc.

    CHOICE /N /C:123 /M "PICK A WEBSITE (YouTube, Google, or Steam)"%1

    IF ERRORLEVEL ==3 GOTO St

    IF ERRORLEVEL ==2 GOTO Gl

    IF ERRORLEVEL ==1 GOTO Yt

    GOTO END

    :Steam

    ECHO YOU HAVE PRESSED Steam

    GOTO :St

    :Google

    ECHO YOU HAVE PRESSED Google

    GOTO :Gl

    :YouTube

    ECHO YOU HAVE PRESSED YouTube

    GOTO :Yt

    :St

    start chrome http://store.steampowered.com/

    :Gl

    start chrome https://www.google.com.au/

    :Yt

    start chrome https://www.youtube.com/

    pause

    :yy

    echo more advanced bookmarks page

    pause

    goto :B

    :somewhere_else

    set /P c=Do you wish to exit[Y/N]?

    if /I "%c%" EQU "Y" goto :Exit

    if /I "%c%" EQU "N" goto :A

    :yyy

    @echo off

    color 0a

    title Search

    cls

    echo `.-:///++++///:-.`

    echo .:/+oooooooooooooooooo+/-. :++++++-

    echo .:+oooooooooooooooooooooooooo+:` :++++++-

    echo `-+ooooooooooo++//////++ooooooooooo/ :++++++-

    echo -+oooooooo+/-.` `.:/+ooooo:` :++++++-

    echo `/oooooooo/-` `-/+:` :++++++-

    echo .+ooooooo/. ` :++++++-

    echo -ooooooo+. :++++++-

    echo .+oooooo+` :++++++-

    echo +oooooo+` `.--::////::-.` `.:/oossssoo/:-` `.-://///:-.` `......` :++++++- `.-::////::-.`

    echo .ooooooo- `-//++++++++++++++/:. `:oyhddddddddddddhyo:` .:++ooooooooooo+/./oooooo. :++++++- .:/+++++++++++++/:.

    echo :ooooooo` .......................` `:+++++++++++++++++++++/. `+yhddddddddddddddddddhy+. ./+ooooooooooooooooo+oooooo. :++++++- ./+++++++++++++++++++/.

    echo /oooooo+ `+++++++++++++++++++++++: -+++++++++/:---::/++++++++/` :ydddddddhyo++++oyhdddddddy/ `/oooooooo+/::-://+oooooooooo. :++++++- `:++++++++/:----:/+++++++:`

    echo /oooooo+ `ooooooooooooooooooooooo: :+++++++/.` ``:++++++++. /hddddddy/.` `./yddddddh+ .+oooooo+:.` `:+oooooooo. :++++++- `/+++++++:`` `:++++++/`

    echo :ooooooo` `ooooooooooooooooooooooo: :+++++++- `/+++++++` :hddddddo` `+hdddddd/ `+oooooo/` `/ooooooo. :++++++- :++++++/` ``.:/+++++++/`

    echo .ooooooo: ................/oooooo- .+++++++. /++++++/ hddddddo +ddddddh` :oooooo+` /oooooo. :++++++- .+++++++` `.-//++++++++++/:`

    echo /ooooooo. `+oooooo` :++++++/ .+++++++` -ddddddd` `hdddddd: +oooooo- .oooooo. :++++++- -++++++/`.-:/++++++++++/:-.`

    echo `+oooooo+. /oooooo/ :++++++: `+++++++` :ddddddd ydddddd/ `ooooooo. `oooooo. :++++++- :+++++++/+++++++++/:-.`

    echo .+oooooo+:` `:oooooo+` -++++++/ .+++++++ -ddddddd. `hdddddd: +oooooo- -oooooo. :++++++- -++++++++++++//-.``

    echo `+ooooooo+-` `./oooooo+- `+++++++- `/++++++: ydddddds` oddddddh` :oooooo+` `+oooooo. :++++++- `++++++++/:.``

    echo `:+ooooooo+:.` `-/ooooooo+. -+++++++-` ./++++++/` -hdddddds. .oddddddh: `+oooooo+. `/ooooooo. :++++++- -+++++++-` `::.`

    echo ./+oooooooo+/-.```` ```.-:/+ooooooo+:` :+++++++/-`` `.:+++++++/. :hddddddho-`` ``-ohddddddh/ `+ooooooo/-` `.:+oooooooo. :++++++- :+++++++/-` `.:++++/:.

    echo ./+ooooooooooo+++///+++oooooooooo+:. -/++++++++//::::/+++++++++:` -shdddddddhsoooosydddddddhy- `:+ooooooo+//:://+ooooooooooo. :++++++- -/++++++++/:::::/+++++++++-

    echo `-/+oooooooooooooooooooooooo+/-` `-/++++++++++++++++++++:. `:shddddddddddddddddddhy:` ./+oooooooooooooooo++oooooo. :++++++- `-/+++++++++++++++++++/:`

    echo `.:/++oooooooooooooo+++:-` .:/+++++++++++++//-` -+shhddddddddddhhy+- `-/++ooooooooo++:.:oooooo. :++++++- `.:/+++++++++++++/:.`

    echo `.--::::::::--..` `.--:::::--.` `-:/+oooo+/:-` `.--:::::-.. /oooooo` `......` `.--:::::--.`

    echo `` `+ooooo+

    echo `-:/++- /oooooo:

    echo -ooooooo/. ./oooooo+`

    echo -+ooooooo+:-....-:+ooooooo+`

    echo `/ooooooooooooooooooooo+:`

    echo `:+oooooooooooooooo+:`

    echo `-:/++oooo++/:-`

    set /p search=Search:

    start "" https://www.google.ca/search?q=%search%

    echo to go back to start press 1 then enter (if it searches 1 just close down that tab)

    CHOICE /N /C:1 /M "Go to top (1)"%1

    IF ERRORLEVEL ==1 GOTO K

    :F

    cls

    goto :A

    :Exit

    close

    0
    None
    Evatonary

    1 year ago

    yo the code doesn't even work this is what i used and it actually worked (batch)

    @echo off

    :top

    color 02

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

    goto top

    1 reply
    0
    None
    BatchccEvatonary

    Reply 1 year ago

    The code should work fine but you have to remove the <br> and <p> The site tossed in html formatting.

    0
    None
    BatchccAdam3DM

    Reply 1 year ago

    yes it is however some are hybrids of multiple languages. if you don't believe me save it as a .bat file and run it.

    0
    None
    BatchccSavasB1

    Reply 1 year ago

    it takes a while if it still doesn't work go to the link and copy the code from there

    0
    None
    Blurryface21

    2 years ago

    Wow! Really good!

    Here is some codes i like

    @echo off

    echo ***************************************************************

    echo.

    echo Site Selector

    echo.

    echo ***************************************************************

    echo.

    echo Key:

    echo [1] Google - Search Engine

    echo [2] Hotmail - Mail Server

    echo [3] Yahoo - Search Engine/Mail Server

    echo [4] Facebook - Social Networking

    echo [5] Myspace - Social Networking

    echo [6] CNN - News

    echo [7] Weather - Weather

    echo [8] WikiHow - A How-To Website

    echo [9] Instructables - A How-To Website

    echo [10] YouTube - Online Videos

    echo [11] Answers - Online Encyclopedia

    echo [12] Wikipedia - Online Encyclopedia

    echo [13] Yandex - Email

    echo [14] GhostMail - Email

    echo [15] Zoho - Email

    echo [16] Penzu - Online Journal

    echo [17] OneDrive - Online File Storage

    echo [18] Elgoog - Google Terminal

    echo [19] CodeBeautify - Encryption

    echo [20] InfoEncrypt - Encryption

    echo.

    echo [e] Exit

    echo.

    echo ***************************************************************

    echo Enter the number of the website which you would like to go to:

    echo.

    set /p udefine=

    echo.

    echo ***************************************************************

    if %udefine%==1 start www.google.com

    if %udefine%==2 start www.hotmail.com

    if %udefine%==3 start www.yahoo.com

    if %udefine%==4 start www.facebook.com

    if %udefine%==5 start www.myspace.com

    if %udefine%==6 start www.cnn.com

    if %udefine%==7 start www.weather.com

    if %udefine%==7 start www.wikihow.com

    if %udefine%==9 start www.instructables.com

    if %udefine%==10 start www.youtube.com

    if %udefine%==11 start www.answers.com

    if %udefine%==12 start www.wikipedia.com

    if %udefine%==13 start www.yandex.com

    if %udefine%==14 start www.ghostmail.com

    if %udefine%==15 start www.zoho.com

    if %udefine%==16 start www.penzu.com

    if %udefine%==17 start www.onedrive.com

    if %udefine%==18 start www.elgoog.im/terminal

    if %udefine%==19 start www.codebeautify.org/encrypt-decrypt

    if %udefine%==20 start www.infoencrypt.com

    if %udefine%==e goto exit

    cls

    echo ***************************************************************

    echo.

    echo Thank You for using Site Selector by Blurryface21

    echo.

    echo ***************************************************************

    echo Type [e] to exit or [b] to go back and select another site.

    echo.

    set /p udefine=

    echo.

    echo ***************************************************************

    if %udefine%==b goto top

    if %udefine%==e goto exit

    :exit

    cls

    echo ***************************************************************

    echo.

    echo Thank You for using Site Selector by Blurryface21

    echo.

    echo ***************************************************************

    pause

    exit

    *both

    0
    None
    Batchcc

    2 years ago

    please comment or post cool codes!