Regarding the relative download path in Firefox profile

Hi
I need to set the dynamic download path in the firefox to run anywhere. But the limitation is that when I am using System.setProperty(“user.dir”)+“/filename.txt”, it is not integrating the actual path instead it is treating it as string.

Thanks