Regarding sevice adding... RRS feed

  • General discussion

  • Hi,


    I have created service using batch file using following command

    sc create "SARA'seMessenger12" binPath= "\"C:\Program Files(x86)\SARA'seMessenger\jre\bin\javaw.exe\"-jar \"C:\Program Files(x86)\SARA'seMessenger\TrayIcon.jar\""

    The service name is" SARA'seMessenger12".it is created successfully but when i try to start it shows error message as:

    windows couldn't start the SARA'seMessenger12 service on local computer.

    when it starts it has to lauch my application trayicon.when it is stoped the trayicon has to be disabled.

    kindly give me the solution to do so.



    • Changed type Arthur Xie Monday, March 18, 2013 3:43 AM
    Friday, March 15, 2013 5:56 AM