New to Analytica 6.0

FileFullPath( filepath, folder )

Returns the full file path after combining «filepath» with a reference «folder».

Use this to obtain an absolute file path from a relative file path. It also makes combining a file name with a folder convenient since you don't have to worry about whether or not the folder name ends with '\'. It resolves "..\" occurrences, and converts any forward slashes in the path to the Windows standard backslash.

It does not test whether the resulting path exists on your computer.

When «folder» is omitted, it uses the CurrentDataFolder.

Example: • FileFullPath( "../Feed/Hourly.csv", "D:\src\Ana\" ) → "D:\src\Feed\Hourly.csv"

See Also


You are not allowed to post comments.