I'm using dir command in a command prompt to export file & folders names, but I encounter problems with some Spanish characters: á é í ñ ó.
My code page is 437, how can I change it to 850?
cmd.execode-pagespecial characterswindowswindows 7
I'm using dir command in a command prompt to export file & folders names, but I encounter problems with some Spanish characters: á é í ñ ó.
My code page is 437, how can I change it to 850?
Best Answer
Use the chcp command:
Chcp [codepage]
So you would use the following command in cmd:
Chcp 850
I assume you mean Command Prompt when you say MS-DOS.
Source: http://ss64.com/nt/chcp.html