Skip to content

How do I get a file from the project directory in a Task?

View some of the Frequently Asked Questions to our support staff. Included are some tips and tricks making this forum ideal for users getting started with GoAnywhere Director. Note: Users can reply to existing topics but only our support staff can add new topics to this forum.
  • Support_Duane Offline
  • Support Specialist
  • Posts: 66
  • Joined: Thu Mar 05, 2009 3:49 pm

How do I get a file from the project directory in a Task?

Post by Support_Duane »

Use the following notation:
${system.project.location}/.. for iSeries IFS and linux/unix files
${system.project.location}\.. for Windows files

So to access file called myfile.txt which is located in the same folder as the running project, specify ${system.project.location}/../myfile.txt or ${system.project.location}\..\myfile.txt.