In this tutorial I will show you how to install a exe as a windows services.
For this I have created a simple exe in Visual studio 2010 you can create it in any version of Visual Studio.
1. Open up your command prompt
2. Type the following line in CMD
sc create Service_Name binPath= "Exe Path"
3. Replace Service_Name with your service name and ExePath with your exe path with quotes
Example
sc create MyService1 binPath= "c:\Taqi.exe"
I hope it was informative for you and I would like to Thank you for reading.
For this I have created a simple exe in Visual studio 2010 you can create it in any version of Visual Studio.
1. Open up your command prompt
2. Type the following line in CMD
sc create Service_Name binPath= "Exe Path"
3. Replace Service_Name with your service name and ExePath with your exe path with quotes
Example
sc create MyService1 binPath= "c:\Taqi.exe"
I hope it was informative for you and I would like to Thank you for reading.
No comments:
Post a Comment