ExpandPath  
 
 

Returns a path equivalent to the relative_path appended to the base template path. Note the following:

  • ExpandPath creates a platform-appropriate path. You can use either a slash (/) or a back slash (\) in the specified relative path.
  • The return value contains a trailing slash (or back slash) if the specified relative path contains a trailing slash (or back slash).

See also FileExists, GetDirectoryFromPath, and GetFileFromPath.

 
 
  Syntax  
 
ExpandPath(relative_path)

relative_path

Any relative path. ExpandPath converts relative directory references (.\ and ..\)to an absolute path. The function throws an error if this argument or the resulting absolute path is invalid.





 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.