How to run a BAT file from a Unicode command prompt

For those who have faced the following problem: if Unicode is enabled in Windows command prompt (chcp 65001), .BAT and .CMD files no longer run. The solution is simple: instead of “file.bat”, use “start /b file.bat”. Voila!

P.S. The BAT file run will not support Unicode though

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.