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

vfsRename

 
 

Library: File system utilities (OMVFS legacy)
Include: omvfs.xin

Declaration

define external function vfsRename
       value	stream  location
     to  value    stream  newname

Argument definitions

location
the file or directory target of the rename
newname
the new name of the target


Purpose

Use this function to rename a file or subdirectory.

Location must:

Newname must

Example

Renaming a file on the current directory

  include "omvfs.xin"
  
  process
    	.
  	.
  	.
    vfsRename "myfile.txt"
  	to "myoldfile.txt"

      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.