Well, there are system environment vars, and user ones. Make sure you set the system env var PATH to whatever you want. You may want to restart the xmail service afterwards for good measure. I am not sure if the env vars for a service get requested fresh each time or are cached once the service is started. (similar to the cmd window caching env vars).
-tim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Sent: Thursday, December 11, 2003 12:58 PM To: [EMAIL PROTECTED] Subject: [xmail] Re: Antivirus scanning of Xmail temp directory At 13:40 12/11/2003, Liron Newman wrote: > >If program code is running other than interactively (ie. running as > >other than the currently logged in interactive user, or running when > >there is no interactive user logged in), when a temp folder or temp > >file is requested, the folder portion of the path will *always* point > >to <windir>\Temp. The only way to change that is to create your own > >temp path in whatever folder you want to use. But you will then be > >responsible for ensuring uniqueness of the temp files created there. > > >This isn't entirely correct - You *can* change this by changing the >value of TEMP under Control Panel=>System=>Advanced=>Environment >Variables=>System Variables=>TEMP. > >Note that if you are not running XMail as a service under the >LocalSystem account, you'll need to change this setting for the user >you are using (By logging ona s that user and changing TEMP in the same >window but under the "User variables" list). I've tried this in the past for disconnected processes, and for some reason they always seemed to end up going to <windir>\Temp anyway. But perhaps I was doing something wrong (a distinct possibility...:) - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
