swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Topics   Other Library Functions  
function  

vfs.change-directory

 
 

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:

    Related Topics
 
Other Library Functions
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.