How to create a Windows service when you need to use quotes within a quoted parameter (Doc ID 1576552.1)

Last updated on MARCH 08, 2017

Applies to:

MySQL Enterprise Monitor - Version 1.0 and later
Generic Windows

Goal

Create a new Windows Service using the sc command when both the executable and the option file(s) or other parameters you need to include on the new service's command line contains spaces.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms