Intelligent Automation & Macro Software  

Go Back   Tethys Solutions 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 07-29-2008, 10:00 PM
benser benser is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Default Very Simple Read Variable from File Not Working

I get the following error message when I try to read a variable from a txt file.

Cannot read the value(s) of variable 'my_variable_name' from the file c:\my_varible_is_in_here.txt


My file name is: my_variable_is_in_here.txt
My variable name is: my_variable_name
The variable in the txt file is: my_variable_name=whatever

My variable was setup through the Variable Manager as follows...
Name: my_variable_name
Type: Value
Select: Read from text file
Select File: c:\my_varible_is_in_here.txt

The path is correct, the program just won't read what is inside the file.

What could be my problem? I've tried everything, read everything for two days with no luck.
Reply With Quote
  #2 (permalink)  
Old 07-30-2008, 02:51 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

Can you please verify this?

In a text file, the name of the variable should not have '$' sign. For e.g. if your variable is, $my_variable_name$ then the format of text file should be,
my_variable_name=Contents (without $ sign).

If it does not help then can you please send us format of your text file so that we can try reproducing at our end?
Reply With Quote
  #3 (permalink)  
Old 07-31-2008, 11:19 AM
benser benser is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Default It fixed itself

Its working today. I did not do anything different. Thank's for the help anyway.
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

vB 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 01:06 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved