Create variable for full path of a file

Discuss RoboTask here
Post Reply
David.Marsh
Posts: 11
Joined: Mon Aug 02, 2004 3:15 am

Create variable for full path of a file

Post 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?
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Create variable for full path of a file

Post 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.
Post Reply