I run my Windows 7 laptop in Spanish as it helps me learn that language. Recently I wanted to set up a DOS batch file to disable a number of network adapters - however in Spanish, the network adapter names use special (non-ANSI) characters. For example the accented characters in this name:
Conexión de área local 4
I copy/pasted the names from the Network Connections window into my .bat file, but on execution got the error "No existe una interfaz con este nombre registrada con el enrutador", i.e. it couldn't find an adapter with that exact name.
Using Notepad++, I changed the encoding of my .bat file from ANSI to UTF-8 (both with and without BOM), but continued to get the same error. (I pasted in the adapter name each time after changing encoding).
So the question is, what is the best way to get the exact adapter name into my batch file, so that it will be recognised by Windows when I execute it?
cmd.exe
should be able to auto detect that. -- What about the blutooth isn't working? What's even in your BAT file?