How do I create files/folders with diacritics using a bat script
问题 I have a bat file that reads the lines a file, and then tries to create files or folders, depending on the given argument. The problem is that when it gets to chars as ăâțîș, it does not work. This is my code: IF "%1"=="" GOTO Final IF "%1"=="file" GOTO File IF "%1"=="folder" GOTO Folder :File for /f %%i in (files.txt) do echo. > %%i.rtf GOTO Final :Folder for /f "tokens=*" %%a in (folders.txt) do ( mkdir "%%a" ) GOTO Final :Final What I've tried so far using this link: Manage paths with