Utilitaires
Scripts
Divers
Jeux
Rechercher
Quillevere.net
Computer science thoughts

Use accents in a batch file

02/04/2019

If in a Batch file you have variables that contain accents, the system will not display them due to encoding. Using UTF-8 or ANSI will not solve the problem. So:

set myFolder="c:\Pêche"

Will display :

To solve this :

  • Launch Notepad++ and open your file
  • Save the file in the format OEM 720, in Character sets / Arabic / OEM 720

Dernière modification le 02/04/2019 - Quillevere.net

Search in this website

fr en rss RSS info Informations