This article introduces how to draw a heart shape using a bat file. Interested friends can learn about it.
batHeart-shaped code
bat is a batch file type under Windows, consisting of a series of commands, which can include Calls to other programs. Each line of this file is a DOS command. You can use any text file editing tool such as Edit under DOS or Windows Notepad to create and modify batch files.
The heart-shaped code is as follows:
@echo off & title Love mode con: cols=36 lines=19 echo. echo. echo **** **** echo ******* ******* echo *********** *********** echo ************* ************* echo **************************** echo **************************** echo **************************** echo ************************** echo *********************** echo ******************* echo *************** echo *********** echo ******* echo *** echo * pause > nul
Effect:
The above is the detailed content of bat heart code. For more information, please follow other related articles on the PHP Chinese website!