Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Batch file message popup, how to insert emoji?

Write like this

msg * "My emoji 😁"

But on popup I get msg * "My emoji (random symbols)"

How to write a specific emoji for batch file popup on windows 10?

like image 788
Deiminas Avatar asked Oct 20 '25 17:10

Deiminas


1 Answers

Based from the Mofi's comment, you should change the code page to 65001 and the batch file will be saved as UTF-8

@echo off
chcp 65001>nul
Title Emoji 😁
msg * "My emoji 😁"
pause
like image 158
Hackoo Avatar answered Oct 23 '25 12:10

Hackoo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!