Use Special Characters in Batch Files
by Batchcc in Circuits > Microsoft
19587 Views, 6 Favorites, 0 Comments
Use Special Characters in Batch Files
This tutorial will show you how to use special characters in batch files
For example in a batch file this won't work
Echo á
For example in a batch file this won't work
Echo á
Open Cmd
First open cmd.exe
Paste in
for %X in (a-acc:á e-acc:é i-acc:í o-acc:ó u-acc:ú u:uml:ü n-til:ñ) do (@echo:%X) >> international.txt
That will give you áéóúñ in a format they can be viewed from a batch file just copy the symbol out of international.txt which should be located in C:\Users\Your-username-here
Paste in
for %X in (a-acc:á e-acc:é i-acc:í o-acc:ó u-acc:ú u:uml:ü n-til:ñ) do (@echo:%X) >> international.txt
That will give you áéóúñ in a format they can be viewed from a batch file just copy the symbol out of international.txt which should be located in C:\Users\Your-username-here
The End
You can replace the letters áéóúñ with symbols you want just change then in the line you pasted into cmd.
Please also look at my other instructables here
https://www.instructables.com/member/Batchcc?show=INSTRUCTABLES
Or more of my batch file tutorials here
https://www.instructables.com/id/Full-screen-batch-matrix/
And get windows Xp FREE LEGALY from Microsoft here
https://www.instructables.com/id/Download-Windows-Xp-legally-FREE-from-microsoft/
Please also look at my other instructables here
https://www.instructables.com/member/Batchcc?show=INSTRUCTABLES
Or more of my batch file tutorials here
https://www.instructables.com/id/Full-screen-batch-matrix/
And get windows Xp FREE LEGALY from Microsoft here
https://www.instructables.com/id/Download-Windows-Xp-legally-FREE-from-microsoft/