1

Hi I was able to create a Service but now when i am trying to run it comes up with error code : 4 System cannot open the file specified

Error code:4
Amruta
  • 41
  • 1
  • 4

1 Answers1

0

If you don't want to use any opensource apis/tool then you can always create a batch file (in windows), which will run the program and then create a windows service which will call the batch file. While do so make sure all the paths are proper, and if any clsspath is having relative references, you have to format it in such a way that the batch job can run from any location in the computer (better not to use any relative path and put the base path in environment variable and use the variable). Hope this will help.

Abhinaba Basu
  • 361
  • 1
  • 9