I created an application that runs as a service.

5 pts.
Tags:
Microsoft Windows Server 2003
I created an application that runs as a service. The service application is attempting to execute c:proediwauditw.exe. The service is obviously not running on the same directory to execute, I can only run it if I go to the directory, why?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hello Adhil,
this happens because the system doesn’t know where the file is located.
In order to let the OS know where the file is simply add it to the PATH environment variable.
To do so please do:
-Right click My computer,
-Select properties
-Click the Advanced tab
-Click the Environment variables button
-In the frame below select PATH and click the edit button
-Move to the end of the string and add <i>c:\proediw</i>

This tells the system where to search for.

Bye

Don’t forget to visit my blog:<a href=”http://itknowledgeexchange.techtarget.com/it-support/”> If it has a plug, it’s IT stuff!!</a>

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: