FS_Rename

function

Library: File system utilities (OMFSYS legacy)
Include: omfsys.xin

Declaration
define external function FS_Rename
                value      stream  oldname
   to           value      stream  newname
   status       modifiable stream  statusvalue


Purpose

The omfsys library has been deprecated and will be removed from a future version of the language. Use omvfs instead.

This function changes the name of a file, directory, or symbolic link.

Input arguments:

Output argument:

Note that "oldname" must specify a valid file, directory, or link, and that the user must have write access for the directories referred to by "oldname" and "newname". Also: