Product Logo

CNS Image

Import, edit, and export Images in the FileMaker environment

Functions

CNSImage_File_Rename

NameCNSImage_File_Rename
Description

Renames a file.

Return TypeText
FormatCNSImage_File_Rename ( File ; NewName )
Required Parameters
File

The path and file name of the file you want to rename.

NewName

The new name for the file.

Examples
Example 1

Renames the file "rename.jpg" to "renamed.jpg" on Mac.

CNSImage_File_Rename( "/Images/rename.jpg" ; "renamed.jpg" )
Example 2

Renames the file "rename.jpg" to "renamed.jpg" on Windows.

CNSImage_File_Rename( "c:\images\rename.jpg" ; "renamed.jpg" )