Introduction: Batch File: Movement Controls

When I looked up how to create movement controls in CMD I found no accurate results, so I decided to make my own controls that work with the WASD keys for movement and 1234 keys for turning.

Supplies

Windows 10

Step 1: Make a Text File

This part is pretty easy, just make a text file and name it whatever you want.

Step 2: Copy Paste

Copy paste the following code into your text file:

@echo off
title %~n0
goto reset
:controller
cls
if %char% GTR 1000 set char=1
if %char% LSS 1 set char=1000
echo Use the WSAD keys to move, do R to reset and Q to quit.
echo Use the numbers 1234 to change direction without moving {up, down, left, right}.
echo(
echo ####################################################
echo #%X1%%X2%%X3%%X4%%X5%%X6%%X7%%X8%%X9%%X10%%X11%%X12%%X13%%X14%%X15%%X16%%X17%%X18%%X19%%X20%%X21%%X22%%X23%%X24%%X25%%X26%%X27%%X28%%X29%%X30%%X31%%X32%%X33%%X34%%X35%%X36%%X37%%X38%%X39%%X40%%X41%%X42%%X43%%X44%%X45%%X46%%X47%%X48%%X49%%X50%#
echo #%X51%%X52%%X53%%X54%%X55%%X56%%X57%%X58%%X59%%X60%%X61%%X62%%X63%%X64%%X65%%X66%%X67%%X68%%X69%%X70%%X71%%X72%%X73%%X74%%X75%%X76%%X77%%X78%%X79%%X80%%X81%%X82%%X83%%X84%%X85%%X86%%X87%%X88%%X89%%X90%%X91%%X92%%X93%%X94%%X95%%X96%%X97%%X98%%X99%%X100%#
echo #%X101%%X102%%X103%%X104%%X105%%X106%%X107%%X108%%X109%%X110%%X111%%X112%%X113%%X114%%X115%%X116%%X117%%X118%%X119%%X120%%X121%%X122%%X123%%X124%%X125%%X126%%X127%%X128%%X129%%X130%%X131%%X132%%X133%%X134%%X135%%X136%%X137%%X138%%X139%%X140%%X141%%X142%%X143%%X144%%X145%%X146%%X147%%X148%%X149%%X150%#
echo #%X151%%X152%%X153%%X154%%X155%%X156%%X157%%X158%%X159%%X160%%X161%%X162%%X163%%X164%%X165%%X166%%X167%%X168%%X169%%X170%%X171%%X172%%X173%%X174%%X175%%X176%%X177%%X178%%X179%%X180%%X181%%X182%%X183%%X184%%X185%%X186%%X187%%X188%%X189%%X190%%X191%%X192%%X193%%X194%%X195%%X196%%X197%%X198%%X199%%X200%#
echo #%X201%%X202%%X203%%X204%%X205%%X206%%X207%%X208%%X209%%X210%%X211%%X212%%X213%%X214%%X215%%X216%%X217%%X218%%X219%%X220%%X221%%X222%%X223%%X224%%X225%%X226%%X227%%X228%%X229%%X230%%X231%%X232%%X233%%X234%%X235%%X236%%X237%%X238%%X239%%X240%%X241%%X242%%X243%%X244%%X245%%X246%%X247%%X248%%X249%%X250%#
echo #%X251%%X252%%X253%%X254%%X255%%X256%%X257%%X258%%X259%%X260%%X261%%X262%%X263%%X264%%X265%%X266%%X267%%X268%%X269%%X270%%X271%%X272%%X273%%X274%%X275%%X276%%X277%%X278%%X279%%X280%%X281%%X282%%X283%%X284%%X285%%X286%%X287%%X288%%X289%%X290%%X291%%X292%%X293%%X294%%X295%%X296%%X297%%X298%%X299%%X300%#
echo #%X301%%X302%%X303%%X304%%X305%%X306%%X307%%X308%%X309%%X310%%X311%%X312%%X313%%X314%%X315%%X316%%X317%%X318%%X319%%X320%%X321%%X322%%X323%%X324%%X325%%X326%%X327%%X328%%X329%%X330%%X331%%X332%%X333%%X334%%X335%%X336%%X337%%X338%%X339%%X340%%X341%%X342%%X343%%X344%%X345%%X346%%X347%%X348%%X349%%X350%#
echo #%X351%%X352%%X353%%X354%%X355%%X356%%X357%%X358%%X359%%X360%%X361%%X362%%X363%%X364%%X365%%X366%%X367%%X368%%X369%%X370%%X371%%X372%%X373%%X374%%X375%%X376%%X377%%X378%%X379%%X380%%X381%%X382%%X383%%X384%%X385%%X386%%X387%%X388%%X389%%X390%%X391%%X392%%X393%%X394%%X395%%X396%%X397%%X398%%X399%%X400%#
echo #%X401%%X402%%X403%%X404%%X405%%X406%%X407%%X408%%X409%%X410%%X411%%X412%%X413%%X414%%X415%%X416%%X417%%X418%%X419%%X420%%X421%%X422%%X423%%X424%%X425%%X426%%X427%%X428%%X429%%X430%%X431%%X432%%X433%%X434%%X435%%X436%%X437%%X438%%X439%%X440%%X441%%X442%%X443%%X444%%X445%%X446%%X447%%X448%%X449%%X450%#
echo #%X451%%X452%%X453%%X454%%X455%%X456%%X457%%X458%%X459%%X460%%X461%%X462%%X463%%X464%%X465%%X466%%X467%%X468%%X469%%X470%%X471%%X472%%X473%%X474%%X475%%X476%%X477%%X478%%X479%%X480%%X481%%X482%%X483%%X484%%X485%%X486%%X487%%X488%%X489%%X490%%X491%%X492%%X493%%X494%%X495%%X496%%X497%%X498%%X499%%X500%#
echo #%X501%%X502%%X503%%X504%%X505%%X506%%X507%%X508%%X509%%X510%%X511%%X512%%X513%%X514%%X515%%X516%%X517%%X518%%X519%%X520%%X521%%X522%%X523%%X524%%X525%%X526%%X527%%X528%%X529%%X530%%X531%%X532%%X533%%X534%%X535%%X536%%X537%%X538%%X539%%X540%%X541%%X542%%X543%%X544%%X545%%X546%%X547%%X548%%X549%%X550%#
echo #%X551%%X552%%X553%%X554%%X555%%X556%%X557%%X558%%X559%%X560%%X561%%X562%%X563%%X564%%X565%%X566%%X567%%X568%%X569%%X570%%X571%%X572%%X573%%X574%%X575%%X576%%X577%%X578%%X579%%X580%%X581%%X582%%X583%%X584%%X585%%X586%%X587%%X588%%X589%%X590%%X591%%X592%%X593%%X594%%X595%%X596%%X597%%X598%%X599%%X600%#
echo #%X601%%X602%%X603%%X604%%X605%%X606%%X607%%X608%%X609%%X610%%X611%%X612%%X613%%X614%%X615%%X616%%X617%%X618%%X619%%X620%%X621%%X622%%X623%%X624%%X625%%X626%%X627%%X628%%X629%%X630%%X631%%X632%%X633%%X634%%X635%%X636%%X637%%X638%%X639%%X640%%X641%%X642%%X643%%X644%%X645%%X646%%X647%%X648%%X649%%X650%#
echo #%X651%%X652%%X653%%X654%%X655%%X656%%X657%%X658%%X659%%X660%%X661%%X662%%X663%%X664%%X665%%X666%%X667%%X668%%X669%%X670%%X671%%X672%%X673%%X674%%X675%%X676%%X677%%X678%%X679%%X680%%X681%%X682%%X683%%X684%%X685%%X686%%X687%%X688%%X689%%X690%%X691%%X692%%X693%%X694%%X695%%X696%%X697%%X698%%X699%%X700%#
echo #%X701%%X702%%X703%%X704%%X705%%X706%%X707%%X708%%X709%%X710%%X711%%X712%%X713%%X714%%X715%%X716%%X717%%X718%%X719%%X720%%X721%%X722%%X723%%X724%%X725%%X726%%X727%%X728%%X729%%X730%%X731%%X732%%X733%%X734%%X735%%X736%%X737%%X738%%X739%%X740%%X741%%X742%%X743%%X744%%X745%%X746%%X747%%X748%%X749%%X750%#
echo #%X751%%X752%%X753%%X754%%X755%%X756%%X757%%X758%%X759%%X760%%X761%%X762%%X763%%X764%%X765%%X766%%X767%%X768%%X769%%X770%%X771%%X772%%X773%%X774%%X775%%X776%%X777%%X778%%X779%%X780%%X781%%X782%%X783%%X784%%X785%%X786%%X787%%X788%%X789%%X790%%X791%%X792%%X793%%X794%%X795%%X796%%X797%%X798%%X799%%X800%#
echo #%X801%%X802%%X803%%X804%%X805%%X806%%X807%%X808%%X809%%X810%%X811%%X812%%X813%%X814%%X815%%X816%%X817%%X818%%X819%%X820%%X821%%X822%%X823%%X824%%X825%%X826%%X827%%X828%%X829%%X830%%X831%%X832%%X833%%X834%%X835%%X836%%X837%%X838%%X839%%X840%%X841%%X842%%X843%%X844%%X845%%X846%%X847%%X848%%X849%%X850%#
echo #%X851%%X852%%X853%%X854%%X855%%X856%%X857%%X858%%X859%%X860%%X861%%X862%%X863%%X864%%X865%%X866%%X867%%X868%%X869%%X870%%X871%%X872%%X873%%X874%%X875%%X876%%X877%%X878%%X879%%X880%%X881%%X882%%X883%%X884%%X885%%X886%%X887%%X888%%X889%%X890%%X891%%X892%%X893%%X894%%X895%%X896%%X897%%X898%%X899%%X900%#
echo #%X901%%X902%%X903%%X904%%X905%%X906%%X907%%X908%%X909%%X910%%X911%%X912%%X913%%X914%%X915%%X916%%X917%%X918%%X919%%X920%%X921%%X922%%X923%%X924%%X925%%X926%%X927%%X928%%X929%%X930%%X931%%X932%%X933%%X934%%X935%%X936%%X937%%X938%%X939%%X940%%X941%%X942%%X943%%X944%%X945%%X946%%X947%%X948%%X949%%X950%#
echo #%X951%%X952%%X953%%X954%%X955%%X956%%X957%%X958%%X959%%X960%%X961%%X962%%X963%%X964%%X965%%X966%%X967%%X968%%X969%%X970%%X971%%X972%%X973%%X974%%X975%%X976%%X977%%X978%%X979%%X980%%X981%%X982%%X983%%X984%%X985%%X986%%X987%%X988%%X989%%X990%%X991%%X992%%X993%%X994%%X995%%X996%%X997%%X998%%X999%%X1000%#
echo ####################################################
choice /c wsadWSADrRqQ1234 /n /cs
if %errorlevel% == 1 goto up
if %errorlevel% == 2 goto down
if %errorlevel% == 3 goto left
if %errorlevel% == 4 goto right
if %errorlevel% == 5 goto up
if %errorlevel% == 6 goto down
if %errorlevel% == 7 goto left
if %errorlevel% == 8 goto right
if %errorlevel% == 9 goto reset
if %errorlevel% == 10 goto reset
if %errorlevel% == 11 exit /b
if %errorlevel% == 12 exit /b
if %errorlevel% == 13 set X%char%=^^^^&set sym=up
if %errorlevel% == 14 set X%char%=v&set sym=down
if %errorlevel% == 15 set X%char%=^^^<&set sym=left
if %errorlevel% == 16 set X%char%=^^^>&set sym=right
goto controller
:up
set sym=up
if %char% == 1 goto controller
if %char% == 2 goto controller
if %char% == 3 goto controller
if %char% == 4 goto controller
if %char% == 5 goto controller
if %char% == 6 goto controller
if %char% == 7 goto controller
if %char% == 8 goto controller
if %char% == 9 goto controller
if %char% == 10 goto controller
if %char% == 11 goto controller
if %char% == 12 goto controller
if %char% == 13 goto controller
if %char% == 14 goto controller
if %char% == 15 goto controller
if %char% == 16 goto controller
if %char% == 17 goto controller
if %char% == 18 goto controller
if %char% == 19 goto controller
if %char% == 20 goto controller
if %char% == 21 goto controller
if %char% == 22 goto controller
if %char% == 23 goto controller
if %char% == 24 goto controller
if %char% == 25 goto controller
if %char% == 26 goto controller
if %char% == 27 goto controller
if %char% == 28 goto controller
if %char% == 29 goto controller
if %char% == 30 goto controller
if %char% == 31 goto controller
if %char% == 32 goto controller
if %char% == 33 goto controller
if %char% == 34 goto controller
if %char% == 35 goto controller
if %char% == 36 goto controller
if %char% == 37 goto controller
if %char% == 38 goto controller
if %char% == 39 goto controller
if %char% == 40 goto controller
if %char% == 41 goto controller
if %char% == 42 goto controller
if %char% == 43 goto controller
if %char% == 44 goto controller
if %char% == 45 goto controller
if %char% == 46 goto controller
if %char% == 47 goto controller
if %char% == 48 goto controller
if %char% == 49 goto controller
if %char% == 50 goto controller
set "X%char%= "
set /a char=%char%-50
goto load
:down
set sym=down
if %char% == 951 goto controller
if %char% == 952 goto controller
if %char% == 953 goto controller
if %char% == 954 goto controller
if %char% == 955 goto controller
if %char% == 956 goto controller
if %char% == 957 goto controller
if %char% == 958 goto controller
if %char% == 959 goto controller
if %char% == 960 goto controller
if %char% == 961 goto controller
if %char% == 962 goto controller
if %char% == 963 goto controller
if %char% == 964 goto controller
if %char% == 965 goto controller
if %char% == 966 goto controller
if %char% == 967 goto controller
if %char% == 968 goto controller
if %char% == 969 goto controller
if %char% == 970 goto controller
if %char% == 971 goto controller
if %char% == 972 goto controller
if %char% == 973 goto controller
if %char% == 974 goto controller
if %char% == 975 goto controller
if %char% == 976 goto controller
if %char% == 977 goto controller
if %char% == 978 goto controller
if %char% == 979 goto controller
if %char% == 980 goto controller
if %char% == 981 goto controller
if %char% == 982 goto controller
if %char% == 983 goto controller
if %char% == 984 goto controller
if %char% == 985 goto controller
if %char% == 986 goto controller
if %char% == 987 goto controller
if %char% == 988 goto controller
if %char% == 989 goto controller
if %char% == 990 goto controller
if %char% == 991 goto controller
if %char% == 992 goto controller
if %char% == 993 goto controller
if %char% == 994 goto controller
if %char% == 995 goto controller
if %char% == 996 goto controller
if %char% == 997 goto controller
if %char% == 998 goto controller
if %char% == 999 goto controller
if %char% == 1000 goto controller
set "X%char%= "
set /a char=%char%+50
goto load
:right
set sym=right
if %char% == 50 goto controller
if %char% == 100 goto controller
if %char% == 150 goto controller
if %char% == 200 goto controller
if %char% == 250 goto controller
if %char% == 300 goto controller
if %char% == 350 goto controller
if %char% == 400 goto controller
if %char% == 450 goto controller
if %char% == 500 goto controller
if %char% == 550 goto controller
if %char% == 600 goto controller
if %char% == 650 goto controller
if %char% == 700 goto controller
if %char% == 750 goto controller
if %char% == 800 goto controller
if %char% == 850 goto controller
if %char% == 900 goto controller
if %char% == 950 goto controller
if %char% == 1000 goto controller
set "X%char%= "
set /a char=%char%+2
goto load
:left
set sym=left
if %char% == 1 goto controller
if %char% == 51 goto controller
if %char% == 101 goto controller
if %char% == 151 goto controller
if %char% == 201 goto controller
if %char% == 251 goto controller
if %char% == 301 goto controller
if %char% == 351 goto controller
if %char% == 401 goto controller
if %char% == 451 goto controller
if %char% == 501 goto controller
if %char% == 551 goto controller
if %char% == 601 goto controller
if %char% == 651 goto controller
if %char% == 701 goto controller
if %char% == 751 goto controller
if %char% == 801 goto controller
if %char% == 851 goto controller
if %char% == 901 goto controller
if %char% == 951 goto controller
set "X%char%= "
set /a char=%char%-2
goto load
:reset
set "X1= "
set "X2= "
set "X3= "
set "X4= "
set "X5= "
set "X6= "
set "X7= "
set "X8= "
set "X9= "
set "X10= "
set "X11= "
set "X12= "
set "X13= "
set "X14= "
set "X15= "
set "X16= "
set "X17= "
set "X18= "
set "X19= "
set "X20= "
set "X21= "
set "X22= "
set "X23= "
set "X24= "
set "X25= "
set "X26= "
set "X27= "
set "X28= "
set "X29= "
set "X30= "
set "X31= "
set "X32= "
set "X33= "
set "X34= "
set "X35= "
set "X36= "
set "X37= "
set "X38= "
set "X39= "
set "X40= "
set "X41= "
set "X42= "
set "X43= "
set "X44= "
set "X45= "
set "X46= "
set "X47= "
set "X48= "
set "X49= "
set "X50= "
set "X51= "
set "X52= "
set "X53= "
set "X54= "
set "X55= "
set "X56= "
set "X57= "
set "X58= "
set "X59= "
set "X60= "
set "X61= "
set "X62= "
set "X63= "
set "X64= "
set "X65= "
set "X66= "
set "X67= "
set "X68= "
set "X69= "
set "X70= "
set "X71= "
set "X72= "
set "X73= "
set "X74= "
set "X75= "
set "X76= "
set "X77= "
set "X78= "
set "X79= "
set "X80= "
set "X81= "
set "X82= "
set "X83= "
set "X84= "
set "X85= "
set "X86= "
set "X87= "
set "X88= "
set "X89= "
set "X90= "
set "X91= "
set "X92= "
set "X93= "
set "X94= "
set "X95= "
set "X96= "
set "X97= "
set "X98= "
set "X99= "
set "X100= "
set "X101= "
set "X102= "
set "X103= "
set "X104= "
set "X105= "
set "X106= "
set "X107= "
set "X108= "
set "X109= "
set "X110= "
set "X111= "
set "X112= "
set "X113= "
set "X114= "
set "X115= "
set "X116= "
set "X117= "
set "X118= "
set "X119= "
set "X120= "
set "X121= "
set "X122= "
set "X123= "
set "X124= "
set "X125= "
set "X126= "
set "X127= "
set "X128= "
set "X129= "
set "X130= "
set "X131= "
set "X132= "
set "X133= "
set "X134= "
set "X135= "
set "X136= "
set "X137= "
set "X138= "
set "X139= "
set "X140= "
set "X141= "
set "X142= "
set "X143= "
set "X144= "
set "X145= "
set "X146= "
set "X147= "
set "X148= "
set "X149= "
set "X150= "
set "X151= "
set "X152= "
set "X153= "
set "X154= "
set "X155= "
set "X156= "
set "X157= "
set "X158= "
set "X159= "
set "X160= "
set "X161= "
set "X162= "
set "X163= "
set "X164= "
set "X165= "
set "X166= "
set "X167= "
set "X168= "
set "X169= "
set "X170= "
set "X171= "
set "X172= "
set "X173= "
set "X174= "
set "X175= "
set "X176= "
set "X177= "
set "X178= "
set "X179= "
set "X180= "
set "X181= "
set "X182= "
set "X183= "
set "X184= "
set "X185= "
set "X186= "
set "X187= "
set "X188= "
set "X189= "
set "X190= "
set "X191= "
set "X192= "
set "X193= "
set "X194= "
set "X195= "
set "X196= "
set "X197= "
set "X198= "
set "X199= "
set "X200= "
set "X201= "
set "X202= "
set "X203= "
set "X204= "
set "X205= "
set "X206= "
set "X207= "
set "X208= "
set "X209= "
set "X210= "
set "X211= "
set "X212= "
set "X213= "
set "X214= "
set "X215= "
set "X216= "
set "X217= "
set "X218= "
set "X219= "
set "X220= "
set "X221= "
set "X222= "
set "X223= "
set "X224= "
set "X225= "
set "X226= "
set "X227= "
set "X228= "
set "X229= "
set "X230= "
set "X231= "
set "X232= "
set "X233= "
set "X234= "
set "X235= "
set "X236= "
set "X237= "
set "X238= "
set "X239= "
set "X240= "
set "X241= "
set "X242= "
set "X243= "
set "X244= "
set "X245= "
set "X246= "
set "X247= "
set "X248= "
set "X249= "
set "X250= "
set "X251= "
set "X252= "
set "X253= "
set "X254= "
set "X255= "
set "X256= "
set "X257= "
set "X258= "
set "X259= "
set "X260= "
set "X261= "
set "X262= "
set "X263= "
set "X264= "
set "X265= "
set "X266= "
set "X267= "
set "X268= "
set "X269= "
set "X270= "
set "X271= "
set "X272= "
set "X273= "
set "X274= "
set "X275= "
set "X276= "
set "X277= "
set "X278= "
set "X279= "
set "X280= "
set "X281= "
set "X282= "
set "X283= "
set "X284= "
set "X285= "
set "X286= "
set "X287= "
set "X288= "
set "X289= "
set "X290= "
set "X291= "
set "X292= "
set "X293= "
set "X294= "
set "X295= "
set "X296= "
set "X297= "
set "X298= "
set "X299= "
set "X300= "
set "X301= "
set "X302= "
set "X303= "
set "X304= "
set "X305= "
set "X306= "
set "X307= "
set "X308= "
set "X309= "
set "X310= "
set "X311= "
set "X312= "
set "X313= "
set "X314= "
set "X315= "
set "X316= "
set "X317= "
set "X318= "
set "X319= "
set "X320= "
set "X321= "
set "X322= "
set "X323= "
set "X324= "
set "X325= "
set "X326= "
set "X327= "
set "X328= "
set "X329= "
set "X330= "
set "X331= "
set "X332= "
set "X333= "
set "X334= "
set "X335= "
set "X336= "
set "X337= "
set "X338= "
set "X339= "
set "X340= "
set "X341= "
set "X342= "
set "X343= "
set "X344= "
set "X345= "
set "X346= "
set "X347= "
set "X348= "
set "X349= "
set "X350= "
set "X351= "
set "X352= "
set "X353= "
set "X354= "
set "X355= "
set "X356= "
set "X357= "
set "X358= "
set "X359= "
set "X360= "
set "X361= "
set "X362= "
set "X363= "
set "X364= "
set "X365= "
set "X366= "
set "X367= "
set "X368= "
set "X369= "
set "X370= "
set "X371= "
set "X372= "
set "X373= "
set "X374= "
set "X375= "
set "X376= "
set "X377= "
set "X378= "
set "X379= "
set "X380= "
set "X381= "
set "X382= "
set "X383= "
set "X384= "
set "X385= "
set "X386= "
set "X387= "
set "X388= "
set "X389= "
set "X390= "
set "X391= "
set "X392= "
set "X393= "
set "X394= "
set "X395= "
set "X396= "
set "X397= "
set "X398= "
set "X399= "
set "X400= "
set "X401= "
set "X402= "
set "X403= "
set "X404= "
set "X405= "
set "X406= "
set "X407= "
set "X408= "
set "X409= "
set "X410= "
set "X411= "
set "X412= "
set "X413= "
set "X414= "
set "X415= "
set "X416= "
set "X417= "
set "X418= "
set "X419= "
set "X420= "
set "X421= "
set "X422= "
set "X423= "
set "X424= "
set "X425= "
set "X426= "
set "X427= "
set "X428= "
set "X429= "
set "X430= "
set "X431= "
set "X432= "
set "X433= "
set "X434= "
set "X435= "
set "X436= "
set "X437= "
set "X438= "
set "X439= "
set "X440= "
set "X441= "
set "X442= "
set "X443= "
set "X444= "
set "X445= "
set "X446= "
set "X447= "
set "X448= "
set "X449= "
set "X450= "
set "X451= "
set "X452= "
set "X453= "
set "X454= "
set "X455= "
set "X456= "
set "X457= "
set "X458= "
set "X459= "
set "X460= "
set "X461= "
set "X462= "
set "X463= "
set "X464= "
set "X465= "
set "X466= "
set "X467= "
set "X468= "
set "X469= "
set "X470= "
set "X471= "
set "X472= "
set "X473= "
set "X474= "
set X475=@
set "X476= "
set "X477= "
set "X478= "
set "X479= "
set "X480= "
set "X481= "
set "X482= "
set "X483= "
set "X484= "
set "X485= "
set "X486= "
set "X487= "
set "X488= "
set "X489= "
set "X490= "
set "X491= "
set "X492= "
set "X493= "
set "X494= "
set "X495= "
set "X496= "
set "X497= "
set "X498= "
set "X499= "
set "X500= "
set "X501= "
set "X502= "
set "X503= "
set "X504= "
set "X505= "
set "X506= "
set "X507= "
set "X508= "
set "X509= "
set "X510= "
set "X511= "
set "X512= "
set "X513= "
set "X514= "
set "X515= "
set "X516= "
set "X517= "
set "X518= "
set "X519= "
set "X520= "
set "X521= "
set "X522= "
set "X523= "
set "X524= "
set "X525= "
set "X526= "
set "X527= "
set "X528= "
set "X529= "
set "X530= "
set "X531= "
set "X532= "
set "X533= "
set "X534= "
set "X535= "
set "X536= "
set "X537= "
set "X538= "
set "X539= "
set "X540= "
set "X541= "
set "X542= "
set "X543= "
set "X544= "
set "X545= "
set "X546= "
set "X547= "
set "X548= "
set "X549= "
set "X550= "
set "X551= "
set "X552= "
set "X553= "
set "X554= "
set "X555= "
set "X556= "
set "X557= "
set "X558= "
set "X559= "
set "X560= "
set "X561= "
set "X562= "
set "X563= "
set "X564= "
set "X565= "
set "X566= "
set "X567= "
set "X568= "
set "X569= "
set "X570= "
set "X571= "
set "X572= "
set "X573= "
set "X574= "
set "X575= "
set "X576= "
set "X577= "
set "X578= "
set "X579= "
set "X580= "
set "X581= "
set "X582= "
set "X583= "
set "X584= "
set "X585= "
set "X586= "
set "X587= "
set "X588= "
set "X589= "
set "X590= "
set "X591= "
set "X592= "
set "X593= "
set "X594= "
set "X595= "
set "X596= "
set "X597= "
set "X598= "
set "X599= "
set "X600= "
set "X601= "
set "X602= "
set "X603= "
set "X604= "
set "X605= "
set "X606= "
set "X607= "
set "X608= "
set "X609= "
set "X610= "
set "X611= "
set "X612= "
set "X613= "
set "X614= "
set "X615= "
set "X616= "
set "X617= "
set "X618= "
set "X619= "
set "X620= "
set "X621= "
set "X622= "
set "X623= "
set "X624= "
set "X625= "
set "X626= "
set "X627= "
set "X628= "
set "X629= "
set "X630= "
set "X631= "
set "X632= "
set "X633= "
set "X634= "
set "X635= "
set "X636= "
set "X637= "
set "X638= "
set "X639= "
set "X640= "
set "X641= "
set "X642= "
set "X643= "
set "X644= "
set "X645= "
set "X646= "
set "X647= "
set "X648= "
set "X649= "
set "X650= "
set "X651= "
set "X652= "
set "X653= "
set "X654= "
set "X655= "
set "X656= "
set "X657= "
set "X658= "
set "X659= "
set "X660= "
set "X661= "
set "X662= "
set "X663= "
set "X664= "
set "X665= "
set "X666= "
set "X667= "
set "X668= "
set "X669= "
set "X670= "
set "X671= "
set "X672= "
set "X673= "
set "X674= "
set "X675= "
set "X676= "
set "X677= "
set "X678= "
set "X679= "
set "X680= "
set "X681= "
set "X682= "
set "X683= "
set "X684= "
set "X685= "
set "X686= "
set "X687= "
set "X688= "
set "X689= "
set "X690= "
set "X691= "
set "X692= "
set "X693= "
set "X694= "
set "X695= "
set "X696= "
set "X697= "
set "X698= "
set "X699= "
set "X700= "
set "X701= "
set "X702= "
set "X703= "
set "X704= "
set "X705= "
set "X706= "
set "X707= "
set "X708= "
set "X709= "
set "X710= "
set "X711= "
set "X712= "
set "X713= "
set "X714= "
set "X715= "
set "X716= "
set "X717= "
set "X718= "
set "X719= "
set "X720= "
set "X721= "
set "X722= "
set "X723= "
set "X724= "
set "X725= "
set "X726= "
set "X727= "
set "X728= "
set "X729= "
set "X730= "
set "X731= "
set "X732= "
set "X733= "
set "X734= "
set "X735= "
set "X736= "
set "X737= "
set "X738= "
set "X739= "
set "X740= "
set "X741= "
set "X742= "
set "X743= "
set "X744= "
set "X745= "
set "X746= "
set "X747= "
set "X748= "
set "X749= "
set "X750= "
set "X751= "
set "X752= "
set "X753= "
set "X754= "
set "X755= "
set "X756= "
set "X757= "
set "X758= "
set "X759= "
set "X760= "
set "X761= "
set "X762= "
set "X763= "
set "X764= "
set "X765= "
set "X766= "
set "X767= "
set "X768= "
set "X769= "
set "X770= "
set "X771= "
set "X772= "
set "X773= "
set "X774= "
set "X775= "
set "X776= "
set "X777= "
set "X778= "
set "X779= "
set "X780= "
set "X781= "
set "X782= "
set "X783= "
set "X784= "
set "X785= "
set "X786= "
set "X787= "
set "X788= "
set "X789= "
set "X790= "
set "X791= "
set "X792= "
set "X793= "
set "X794= "
set "X795= "
set "X796= "
set "X797= "
set "X798= "
set "X799= "
set "X800= "
set "X801= "
set "X802= "
set "X803= "
set "X804= "
set "X805= "
set "X806= "
set "X807= "
set "X808= "
set "X809= "
set "X810= "
set "X811= "
set "X812= "
set "X813= "
set "X814= "
set "X815= "
set "X816= "
set "X817= "
set "X818= "
set "X819= "
set "X820= "
set "X821= "
set "X822= "
set "X823= "
set "X824= "
set "X825= "
set "X826= "
set "X827= "
set "X828= "
set "X829= "
set "X830= "
set "X831= "
set "X832= "
set "X833= "
set "X834= "
set "X835= "
set "X836= "
set "X837= "
set "X838= "
set "X839= "
set "X840= "
set "X841= "
set "X842= "
set "X843= "
set "X844= "
set "X845= "
set "X846= "
set "X847= "
set "X848= "
set "X849= "
set "X850= "
set "X851= "
set "X852= "
set "X853= "
set "X854= "
set "X855= "
set "X856= "
set "X857= "
set "X858= "
set "X859= "
set "X860= "
set "X861= "
set "X862= "
set "X863= "
set "X864= "
set "X865= "
set "X866= "
set "X867= "
set "X868= "
set "X869= "
set "X870= "
set "X871= "
set "X872= "
set "X873= "
set "X874= "
set "X875= "
set "X876= "
set "X877= "
set "X878= "
set "X879= "
set "X880= "
set "X881= "
set "X882= "
set "X883= "
set "X884= "
set "X885= "
set "X886= "
set "X887= "
set "X888= "
set "X889= "
set "X890= "
set "X891= "
set "X892= "
set "X893= "
set "X894= "
set "X895= "
set "X896= "
set "X897= "
set "X898= "
set "X899= "
set "X900= "
set "X901= "
set "X902= "
set "X903= "
set "X904= "
set "X905= "
set "X906= "
set "X907= "
set "X908= "
set "X909= "
set "X910= "
set "X911= "
set "X912= "
set "X913= "
set "X914= "
set "X915= "
set "X916= "
set "X917= "
set "X918= "
set "X919= "
set "X920= "
set "X921= "
set "X922= "
set "X923= "
set "X924= "
set "X925= "
set "X926= "
set "X927= "
set "X928= "
set "X929= "
set "X930= "
set "X931= "
set "X932= "
set "X933= "
set "X934= "
set "X935= "
set "X936= "
set "X937= "
set "X938= "
set "X939= "
set "X940= "
set "X941= "
set "X942= "
set "X943= "
set "X944= "
set "X945= "
set "X946= "
set "X947= "
set "X948= "
set "X949= "
set "X950= "
set "X951= "
set "X952= "
set "X953= "
set "X954= "
set "X955= "
set "X956= "
set "X957= "
set "X958= "
set "X959= "
set "X960= "
set "X961= "
set "X962= "
set "X963= "
set "X964= "
set "X965= "
set "X966= "
set "X967= "
set "X968= "
set "X969= "
set "X970= "
set "X971= "
set "X972= "
set "X973= "
set "X974= "
set "X975= "
set "X976= "
set "X977= "
set "X978= "
set "X979= "
set "X980= "
set "X981= "
set "X982= "
set "X983= "
set "X984= "
set "X985= "
set "X986= "
set "X987= "
set "X988= "
set "X989= "
set "X990= "
set "X991= "
set "X992= "
set "X993= "
set "X994= "
set "X995= "
set "X996= "
set "X997= "
set "X998= "
set "X999= "
set "X1000= "
set char=475
set sym=
goto controller
:load
if %sym% == up set X%char%=^^^^
if %sym% == down set X%char%=v
if %sym% == left set X%char%=^^^<
if %sym% == right set X%char%=^^^>
goto controller

Step 3: Change to Batch/CMD File

Now just take your text file and change the extension to .bat