How to display images in command prompt|| Batch File (ASCII-ART)

preview_player
Показать описание
In this video I have shown how to display a black and white image in
command prompt using a batch file.

what is batch file:

A batch file is a script file in DOS, OS/2 and Microsoft Windows. It consists of a series of commands to be executed by the command-line interpreter, stored in a plain text file. A batch file may contain any command the interpreter accepts interactively and use constructs that enable conditional branching and looping within the batch file, such as IF, FOR, etc.

Ascii Art :

ASCII art is a graphic design technique that uses computers for presentation and consists of pictures pieced together from the 95 printable characters defined by the ASCII Standard from 1963 and ASCII compliant character sets with proprietary extend character

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

Рекомендации по теме
Комментарии
Автор

so for those saying "if i open the batch file. it closes"
you need something to make it wait
like
pause
this will act like:
Press any key to continue...
pause > nul is pause but without the words
timeout <s>
you can replace the <s> with how many seconds you want to wait.
timeout <s> nul
same thing but there is no text
set /p %input%=
replace %input% with anything (no spaces tho)
set /p %input%= (text)
same thing as above but you can put text (replace (text) )

iosifmiron
Автор

Help, when I start the batch file, the cmd closes immediately

AwaKe
Автор

i am on windows 11 and if i open the batch file. it closes automaticly

NS_Spotters
Автор

Beep, beep. Houston we have a problem, we can not trust this presentation, because it is not very pixel precise and so we can not find the way home back to earth. We need help, else we are lost in space. Please send a pixel precise character set of the image. Beep, beep. End of transmission. Beep, beep.

Is there anybody who can help, we need a picture to character converter for a pixel precise presentation?
Any idea how we can solve this problem?

maxmuster
Автор

@echo off
:loop
set /a num=(%Random% %%9)+1
color %num%

Portmade_naz
Автор

can make with password and text more under the picture plisss

rafifajar
Автор

Code

@echo off
:loop
set /a num=(%Random% %%9)+1
color %num%

Tech-Tacked