Just struggling to find a way to build a full file path address from a relative address.
I have some xlsx files store within my project (“Data\Documentation\FILEXYZ.xlsx”) and need to get the full address to pass into another process. Is there a way to convert the relative address to a full address at all?
You can use Environment.CurrentDirectory to get the full path of your project.
Merge that with your relative path and it should be what you’re looking for.
@adam.williamson You can use Environment.CurrentDirectory to get the path in which you are working. Append that with your required path. Eg. Environment.CurrentDirectory+"\Data\Extracted"