I want to add via Batch script a new service-dependency to an existing service with old dependencies, without deleting these dependencies.
I know the command sc config ServiceA depend= ServiceB/ServiceC/ServiceD
can add multiple dependencies, but I don't know how to use it to - for example - add ServiceD dependency to a service that depends on ServiceB and ServiceC, with the same result and without mentioning the old dependencies (since I don't know them).
What is the way to do that? And - how to revert the change (also via Batch)?
I have no much experience with Batch, by the way.