Hello,
Please have a look at
this manual[
^] to know more about various switches supported by cmd.exe.
/C
options tells cmd.exe to execute the specified command and then terminate.
sc
is a command line program used for communicating with the Service Control Manager and services.
query
is another dos command to obtain information about running processes, sessions, users etc. QUERY is also a sub command of sc to get more information about a service or set of services.
STacSV
may be the name of the service you are trying to query.
Regards,