Page 1 of 1

Create variable for full path of a file

Posted: Fri Apr 04, 2008 2:05 am
by David.Marsh
I am using RoboTask Lite and want to know how I can place the full path of a file into a variable by using the File Monitor.My example is I want to monitor a folder for a file but the name of the file that is copied into the folder is unknown at the time of running the task so I want to monitor a folder and store the full path of the new file into a variable so that I can then create a text file that will contain some information along with the full path to the new file.Is this possible with RoboTask Lite?

Create variable for full path of a file

Posted: Fri Apr 04, 2008 2:19 am
by Oleg
You may retrieve the content of text file by using variable {TextFile(file_name)}. Specify the file name as parameter.
In order to assign this to variable use "Set Variable" action.