How to get the full PATH of some DataFile on HDD?

How to get full PATH of some DataFile on HDD?

it is necessary for me to write in excel file in this path the result of script

Tod,

I think the following snippet might help:

TestData accounts = findTestData('Data Files/Accounts (1)')
println accounts.getSourceUrl()

))) much thanks