wwUtils.GetFullPath

Resolves a relative path to a full path but also matches the proper case of the file on disk if it exists. Essentially does what FULLPATH() does, plus casing the file as it is on disk if it exists.

? GetFullPath("..\..\temp\POST.PDF")      && c:\temp\Post.pdf - file exists
? GetFullPath("..\..\temp\POSTsss.PDF")   && c:\temp\POSTss.PDF - file doesn't exist
GetFullPath(lcFile)

Parameters

lcFile
The file to get the full path for

Remarks

Case is matched only if the referenced path exists.

This is a Library function not a method of the wwUtils class.


See also:

Class wwUtils

© West Wind Technologies, 1996-2018 • Updated: 11/15/18
Comment or report problem with topic