Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-02-2009, 08:46 PM
trauch trauch is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Default EXE for another computer

I have created a simple task to open our web form and 3 text files all located in a folder on the desktop. Using the record task creator the system enters single line data from each text file into appropriate text boxes on our form.

Everything works well on the computer that we created the task but when we try to create an EXE to run on a second computer the tasks are unable to find the text files. I'm assuming the problem is the folder/file structure but dont know how to create a relative path for the files.

The file structure for each computer will be different so I figure I'll need the relative path. Can anyone help? Below is the location of the original file as seen in the "Open Program / File Action Perameters"

c:\Documents and Settings\Analysis1\Desktop\Data\launch\working.txt

Thanks for any assistance.
Reply With Quote
  #2 (permalink)  
Old 02-02-2009, 10:38 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can put your text files on shared network and access it from there. Your requirement of Relative path for variable text file has already been forwarded to our product development team.
Reply With Quote
  #3 (permalink)  
Old 02-06-2009, 11:07 AM
kylepyro kylepyro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 28
Default

There are a couple of other ideas. 1) use the All Users Desktop. 2) you can also determine the user with something like

echo %UserProfile%\Desktop > c:\dir\filename.csv in a cmd window.

This will write the string "currentuser\desktop" into a csv which you can then read back and use to construct the pathname you want in a variable. The variable can then be used in an

open file $Pathname$\filename.ext

cheers!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 10:06 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved