That's great. I am currently doing this:
%ComSpec% /c Echo DIAL $Caller ID$ >> "C:\Documents and Settings\%USERNAME%\Application Data\MyAppName\commandfile.txt" Which works. I now ideally would like to make a file of the format: CommandFile<datetimestamp>.txt Would this be possible? I think some of the date time stamp characters may be illegal in a filename (environment is the client so Windows). Anyone know how to create a filename out of date or time stamp type variables in Remedy - so I can put in the Run Process command line field? Angus ----- Original Message ----- From: "Schryver, Curt" <[EMAIL PROTECTED]> Newsgroups: public.remedy.arsystem.general To: <[email protected]> Sent: Friday, October 26, 2007 5:33 PM Subject: Re: Trying to write some data to a file using Active link runprocess You can do it, but you must understand that this method will write the file to the user's machine. The format I'm using is: %ComSpec% /c Echo $MyRemedyField$ >> C:\mytextfile.txt Good luck. BTW, I'm tinkering with Escalations to see if I can write the file to the server. Curt A. Schryver 717-810-2109 tel [EMAIL PROTECTED] -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Angus Comber Sent: Friday, October 26, 2007 1:16 PM To: [email protected] Subject: Trying to write some data to a file using Active link runprocess Hello I would like to use an active link runprocess to write data to a text file. I have tried this sort of thing: 'echo $MyRemedyField$ >> C:\mytextfile.txt' (and yes realise will have to use different path for a real system) But I keep getting the error: The system cannot find the file specified. And I am ensuring the file exists. Can anyone help. I basically want to write some text in a Remedy form text field out to a text file on a user clicking a button. Angus ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are" ____________________________________________________________________________ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"

