I am trying to write a batch file that kills a Windows sound service using the following
taskkill / F / FI "Windows Audio eq Services"
however, I cannot get taskkill to handle a space in the service name. Any ideas?
thank
Instead of using taskkill, why can't you use net stop:
taskkill
net stop
net stop "Windows Audio"
net stop will allow the service to cease grace.
Source: https://habr.com/ru/post/1761713/More articles:Differences between Oracle hash and tomcat md5? - oracleИерархические данные в StringTemplate - stringtemplateHow to find the separator in lens C? - objective-cкак отображать текст в UIWebVIew - objective-cDataGridView rows cannot change background color during initialization - c #.NET socket lock processing timeout - c #Convert type string to object type - c #How to suspend a stream by its name from the main stream? - c #What is session.bug_compat_42 and session.bug_compat_warn? - phplate binding in linq - vb.netAll Articles