Thank you all for your reply :-)
Carey was right - I should use the Windows %TMP% folder. This one is easier to 
find out than I thought. 

$PROCESS$ cmd /c set TMP

Just for the case anybody else needs to know this 

Thanks and a happy new year <:-)

sileem


-------- Original-Nachricht --------
> Datum: Thu, 27 Dec 2007 16:30:24 -0500
> Von: Joe D\'Souza <[EMAIL PROTECTED]>
> An: arslist@ARSLIST.ORG
> Betreff: Re: ARS Home Path

> Yes you have something there.. I didn't really think of the fact that the
> ini file resides in the home directory..
> 
> And that's a very valuable point you have made about users accidentally
> downloading a file that is already a resident of the home directory and
> thus
> overwriting it.. Using the windows temp directory is a much better option
> for what Sileem wants to do..
> 
> Joe
> 
> 
> 
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[EMAIL PROTECTED] Behalf Of Carey Matthew Black
> Sent: Thursday, December 27, 2007 4:22 PM
> To: arslist@ARSLIST.ORG
> Subject: Re: ARS Home Path
> 
> 
> I think it is actually different than that... (The ar.ini lives inside
> the directory that Sileem is looking for.)
> 
> The value might come from:
>   The local Windows OS (Registry)
>       Exact key depends on the ARS version we are talking about.
>   OR
>   The preference server (ARS data)
> 
> I guess it would be possible to try to deal with the first option, but
> I think it is better "ignored by design".
> 
> I think I would check for a record in the preference server and get
> the value from there.
> If there is no value set, or no record found.. then either Error
> and/or build the record. ( If you want to get fancy enough you could
> even prompt the user to pick a directory and save that value to the
> preference form too.)
> 
> 
> 
> However......
> 
> The AR Home dir is not a "Temp" directory. I would strongly suggest
> that you use their local %TEMP% dir (most windows domains/hosts have
> this env value set to a reasonable place for the user) instead of the
> AR Home dir anyway. The last think you want to do is "download" an
> ar.ini file (or some other file that lives in that dir) and stomp on
> the users local prefs/custom view/saved searches or cause the User
> Tool any level of confusion with the files being updated from
> "outside" while it is running.  ( I just think you would be playing
> with fire to us that directory. I think it is only a matter of time
> before you get burnt by that choice. )
> 
> HTH.
> 
> --
> Carey Matthew Black
> Remedy Skilled Professional (RSP)
> ARS = Action Request System(Remedy)
> 
> Love, then teach
> Solution = People + Process + Tools
> Fast, Accurate, Cheap.... Pick two.
> 
> 
> On Dec 27, 2007 3:46 PM, Joe D'Souza <[EMAIL PROTECTED]> wrote:
> > **
> >
> > The AR Home path is not set in a clients environment, but is set in the
> > ar.ini file. I do not think there is a way using workflow or any Run
> Process
> > action so get this but to go into the ini file and find the path from
> > there.. You could try setting the contents of the ini file to display
> only
> 0
> > length field and working your way up from there using string functions..
> > (SUBSTR and STRSTR)
> >
> > Joe
> >
> >
> >
> >
> > -----Original Message-----
> > From: Action Request System discussion list(ARSList)
> > [mailto:[EMAIL PROTECTED] Behalf Of sileem hassan
> > Sent: Thursday, December 27, 2007 6:40 AM
> > To: arslist@ARSLIST.ORG
> > Subject: ARS Home Path
> >
> >
> > Hi all,
> > does anybody know a way how to find out the actual ARS Homepath from the
> > actual opened User client? Best would be within a set-fields action.
> >
> > I need this to save some Attachements temporarily into this path.
> >
> > Thanx,
> > sileem
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.17.9/1197 - Release Date:
> 12/25/2007
> 8:04 PM
> 
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to