How to combine file path automatically in another system?

Can I know about below both questions:

  1. how to retrieve file path automatically in another system that we are using send outlook activity or other activity?
  2. Can I know the syntax for the combine file path automatically in another system?