Skip to content
+1-888-319-3663

COMMUNITY FORUM

GlobalFilePath to move files from to another folder Task

Brenda asked 3 years ago
I have 2 Tasks that runs before my map, First one is to copy / rename the original file into the Source Folder to be run with the Map (working correctly).  The second is to move this original file to a backup folder.  This is the problem, the file names are always different so I tried to use the Global File Path but that does not seem to do what I want.  I am not sure how to move a file without adding the full file name, since it will always be different.  I need to do this with a task as I have several different Maps  linked together.  Any suggestions?
 
 
Answers
Lorren Zemke answered 3 years ago
Brenda,
You should be able to use the VB.NET script from this article, https://www.eonesolutions.com/tech-tuesday-using-script-replicate-folder-data-source/
This will allow you to specify the new path and file name regardless of what the original filename is.
 
Lorren
 

If you would like to submit an answer or comment, please sign in to the eOne portal.