It sounds like your script is using the RCL Receive command. The Receive command always transfers to the current folder (default is c:\program files\Reflection\user) unless a "SET TRANSFER-DOWNLOAD-DIRECTORY " command is specified and is used in the Receive command. For example: SET TRANSFER-DOWNLOAD-DIRECTORY "C:\\DOCUMENTS" RECEIVE VALUE(TRANSFER-DOWNLOAD-DIRECTORY) & "myfile.txt" FROM MYFILE.TXT I suspect that the Qedit "reflect" command is doing this for you. BTW: all of this information is available via the RCL command window help. HTH, Joe Silagi WRQ, Inc. "Greg Chaplin" <[log in to unmask]> wrote in message news:90p30v02g26@enews2.newsguy.com... > Michael, > > Can you parse out the required local directory and set the Reflection directory appropriately? I wouldn't have thought it necessary if you're telling Reflection to transfer the file to "C:\directory\file" - we do use scripts to transfer files, but we do it from within Qedit and use the Qedit "reflect" command which seems to work more reliably for us. > > If you're stuck, email the script to me & I'll have a go at it. > > Greg Chaplin > > > -------------------------------------------------------------------------- ---------------- > Greg Chaplin > www.unisuper.com.au > [log in to unmask] > UniSuper > Level 37, 385 Bourke Street > Melbourne VIC 3000, > Australia. > Phone: 61 3 9691 4145 > Fax: 61 3 9691 4141 > > > >>> Michael Anderson <[log in to unmask]> 8/12/00 7:23:31 >>> > I need some help from someone with Reflections, and Reflections technical knowledge. I don't have Reflections here, wish I did. But I have a script & and some programs that I want to work correctly on Reflections, Minisoft, and possibly QCTERM as well. > The script(Command file) should transfer a file from MPE to the local workstation. It can also be call programmatically from the HPCICOMMAND intrinsic. SYNTAX is: > > HPTOPC "C:\Directory\Filename.txt mpefile.group.account" > > I have it working for the most part, but when I tried it at another company using Reflections, it fails to set the 'TRANSFER-DOWNLOAD-DIRECTORY' correctly. So the file transfers to 'C:\Program Files\Reflections\User'. Using minisoft it goes into the directory specified in the command line. > > I can send the source code to anyone who wants to give me some help. > > <snip> >