
Are you using the GUI or the CLI?

What is your custom format? If CLI, what is your command-line?

Note that the behaviour you seek is the default. If your
--format generates a relative path, then that relative path is interpreted relatively to the current parent folder for each file at hand, unless a different
--output folder
(CLI only) is specified explicitly. See
Video Tutorial #1 at 23s at for example.

I recommend using a
--output (CLI only) or a
--format (GUI or CLI) that generates an absolute file path. You can use bindings such as
{drive} or
{folder} to generate different absolute file paths depending on the file at hand. See
Q: Can I move files? for details.