Whatever message this page gives is out now! Go check it out!
GetCanonicalPath( path ) |
Parameter | Description |
path | Absolute or relative path of a directory or to a file. |
<cfscript>
file1 = createObject("Java", "java.io.File")
file1="C:/foo/bar/tmp/a.txt/"
file2="c:\abc\..\abc\file.txt"
writeOutput(getCanonicalPath(file1))
writeOutput(getCanonicalPath(file2))
</cfscript>