![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| 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. |
| |||
| 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? |