vfs.change-directory

function

Library: File system utilities (OMVFS)
Import : omvfs.xmd

Declaration
export external function change-directory
                value string path
        on      value directory on-dir optional


Argument definitions

path
The directory to change to, as an absolute path or a path relative to the current working directory.
on-dir
An existing vfs.directory object. If this parameter is specified, the directory of the vfs.directory object is changed, not the current working directory. If this parameter is specified, the path parameter must be specified as a relative or absolute URL.


Purpose

You can use vfs.change-directory to change the current working directory.

  import "omvfs.xmd" prefixed by vfs.
  
  process
    vfs.change-directory "myPrograms\"

Exceptions

The following exceptions may occur: