center text in a batch file
Posted: 03 Sep 2015 05:21
I have an image of some text i randomized it because it was confidential but i converted it on text-image.com and added it to a text file and added about 7 tabs in front of it ( in notepad++ just select all and hit tab ) but this changes the formatting when a batch file uses the type command to type it what can i do here is the text
the text will appear as vbnr if you type
@echo off
cls
mode 1000
type vbnr.txt
pause
Code: Select all
:ooooooo- +oooooooo:oooooooooooooo/:` :oooooo: .oooooooo..oooooooooooooo/-
`:yMMMMh` `-oMMMMo-``-dMMMd:.`-+mMMMN: ``+NMMMMy. .hMMMMh. `-dMMMd:../yMMMMm`
sMMMMo MMN: +MMMs dMMMd dNNMMMm/ `mMMd` +MMMs `sMMMM+
dMMMN- +MM: +MMMs -MMMs dd.hMMMMh` +MM+ +MMMs MMMM-
.mMMMm .NM+ +MMMs oMNo dd /NMMMN/ -MM. +MMMs `MMN/
:MMMMs hMy +MMMd++++ohmo. dd .yMMMMd- MM +MMMNo:` :dNs`
sMMMN: sMh +MMMy---/odMMNds- dd /dMMMMo` MM +MMMNMMMMN/
`hMMMm /Nm` +MMMs -dMMMm dd `sMMMMd- MM +MMMs:NMMMm.
.NMMMs-NN. +MMMs .MMMM -MN. -mMMMNsMM +MMMs .dMMMN/
+MMMNNN: +MMMs `MMMs +MM/ `oNMMMMM +MMMs `oMMMMs`
sMMMM+ +MMMy `yMN+` `mMMd` -dMMMM +MMMy /NMMMd/
`mMMs `:omMMMMds+//shh/` +dMMMMd/ `oNMM `:omMMMMs/. .dMMMMmo-
.o/ `:::::::::::-` :::::::: .yy `:::::::::. .:::::.
the text will appear as vbnr if you type
@echo off
cls
mode 1000
type vbnr.txt
pause