I'm trying to make a batch to connect a Windows service that has a special character "Ç", but I could not get into any viable code. I always get the 1060 error.
This is more or less the structure of my bat:
SC QUERY "Serviço Bonjour" > NUL
IF ERRORLEVEL 1060 GOTO MISSING_BONJOUR
ECHO Configurando AutoStart do Bonjour...
sc config "serviço do bonjour" start=auto
sc start "serviço do bonjour"
GOTO END
In the example above I have tried several other mechanisms, including substring, but I was not successful