Adding the Orginal Folder Name as a Prefix to a Filename

Post Reply
MJDS
Newbie
Posts: 15
Joined: Mon Feb 19, 2024 12:19 pm

Adding the Orginal Folder Name as a Prefix to a Filename

Post by MJDS »

Is there a way to adding the folder name as a prefix to a filename.
For Example

Folder is called 123456
File is called TestABC

When Processed the file is called 123456 TestABC
User avatar
magnussandstrom
Advanced member
Posts: 365
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Re: Adding the Orginal Folder Name as a Prefix to a Filename

Post by magnussandstrom »

What do you input to switch, only files or a job folders containing files?
MJDS
Newbie
Posts: 15
Joined: Mon Feb 19, 2024 12:19 pm

Re: Adding the Orginal Folder Name as a Prefix to a Filename

Post by MJDS »

It will be a folder very time containing files that goes into a hot folder or a submit point. The folder has a Job Number on it, if possible teh Job Number from the file needs to be added to the begining of the file name.
jan_suhr
Advanced member
Posts: 592
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Adding the Orginal Folder Name as a Prefix to a Filename

Post by jan_suhr »

In the early part of the flow you set a Private data key that has the value of the job number you get from the folder.
Later in the flow you have a Rename element that adds that Private data key value to the filename.
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
Post Reply