I created an application that runs as a service.

5 pts.
Tags:
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?
ASKED: June 25, 2008  7:08 PM
UPDATED: June 27, 2008  8:39 AM

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following