title: how to start a program using a windows service?
body: <p>I created a windows service in c++ using visual studios and now I want the service to run an exe file. The service is set to start every time the computer starts </p>
  
  <p>i know i need to use code to locate the path of the exe like <code>C:\MyDirectory\MyFile.exe</code> but how to I actually run the file from the service?</p>
  
  <p>i read about the process start method <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start%28v=vs.71%29.aspx" rel="nofollow">here</a> but i am not sure how to use it</p>