Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Methods for deleting and renaming files and directories

The renameTo() method renames this file or directory in the specified path names. The target file may not already exist. Renaming is only possible within a file system.

The Record-File object itself, stays assigned to the old name, thus it may not represent an existing file afterwards.

Special features of the DMS file system

It is not possible to rename directories. Files can only be renamed if the same catalog ID and user ID are used.

The delete() method deletes this file or directory in the associated file system. If the path name designates a directory, this can only be deleted if it is empty.

Special features of the DMS file system

Directories cannot be deleted.

The deleteOnExit() method ensures that this file or directory is deleted in the associated file system when the application is terminated. Deletions are only performed if the application terminates normally.


Special features of the DMS file system

Directories cannot be deleted.