3
I am trying to make a bat to connect a Windows service that has special character "Ç", but I could not reach any viable code. Always returns me error 1060.
That’s kind of 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 have not succeeded
Thank you, that was it!
– Eduardo