How to start a service with bat
Solved
flexi2202
Posted messages
3640
Registration date
Status
Membre
Last intervention
-
flexi2202 Posted messages 3640 Registration date Status Membre Last intervention -
flexi2202 Posted messages 3640 Registration date Status Membre Last intervention -
Hello everyone
I’m wondering how I would start a list of services in a bat file
for example with these
thanks for the help
I’m wondering how I would start a list of services in a bat file
for example with these
C:\Program Files (x86)\VMware\VMware Workstation\vmware-authd.exe
C:\Windows\system32\vmnetdhcp.exe
thanks for the help
14 réponses
With the start command.
For example
it launches notepad, you see the principle.
--
If you have found the answer to your question, feel free to mark the topic as resolved, as this could help others who encounter the same issue :)
For example
start notepad.exe
it launches notepad, you see the principle.
--
If you have found the answer to your question, feel free to mark the topic as resolved, as this could help others who encounter the same issue :)
Thank you for the helphttps://forums.commentcamarche.net/forum/affich-31939229-comment-faire-demarrer-avec-un-service-avec-bat
To continue with my example above
I have done
also this
but Windows tells me it can't find it, I must not put a path
To continue with my example above
I have done
start vmnetdhcp.exe
also this
start C:\Windows\system32\vmnetdhcp.exe
but Windows tells me it can't find it, I must not put a path
Check that the path is correct, without errors, and that there are no mistakes in the names. Pay attention to accents.
--
If you have found the answer to your question, feel free to mark the topic as resolved, this could help people facing the same issue :)
--
If you have found the answer to your question, feel free to mark the topic as resolved, this could help people facing the same issue :)
Here I just checked and the software that shows me the services did not give me the correct name
so I searched in win8.1 and found the correct path
I then launched
But it doesn't work, the dos command is executed properly but the service does not start
so I searched in win8.1 and found the correct path
I then launched
start C:\Windows\SysWOW64\vmnetdhcp.exe
But it doesn't work, the dos command is executed properly but the service does not start
Hi
you need to retrieve the internal names of the services and then use the command: net start <service name>
For the internal names, check in the services manager.
you need to retrieve the internal names of the services and then use the command: net start <service name>
For the internal names, check in the services manager.
1st link provided by Google : https://support.microsoft.com/en-us/windows?ui=en-US&rs=en-001&ad=US
If the version of Windows does not match, then do a search ;)
If the version of Windows does not match, then do a search ;)