Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

renameFile(path_to_source, path_to_destination)

Package

file

Alias


Pkg Usage

rename(path_to_source, path_to_destination)

Description

Excerpt
hiddentrue

Renames a file.

Renames a file. Returns "true" if the file was renamed successfully and "false" otherwise. If "false" is returned check the log for a detailed reason on why it failed.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

path_to_source

String

Yes

Specifies the source file name.

path_to_destination

String

Yes

Specifies the new file name for the source file.

Return Type

Boolean (true/false)

...

Note

It is recommended that you use forward slashes ( / ) for file paths.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "file_routine" and space = currentSpace ( )
labelsarray_routines