function
Library: File system utilities (OMVFS)
Import : omvfs.xmd |
Returns: the fully qualified file name |
export external stream function file-name of value file file-ref
Argument definitions
You can use vfs.file-name
to get the file name of a vfs.file
object.
import "omvfs.xmd" prefixed by vfs. process local vfs.file myFile set myFile to vfs.open "/programs/myscript.xom" output vfs.file-name of myFile
The function returns the filename in URL format if the file was opened using an URL, or in the local file system format if the file was opened using a local path.
The following exceptions may occur: