Click or drag to resize

FileSystemRenameFile Method

Renames the specified file on the Robot Controller.

Namespace:  ABB.Robotics.Controllers.FileSystemDomain
Assembly:  ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
C#
public void RenameFile(
	string existingFile,
	string newName
)

Parameters

existingFile
Type: SystemString
Name of the file to be renamed.
newName
Type: SystemString
New name of the file.
Exceptions
ExceptionCondition
GeneralExceptionA General Exception has occurred.
Remarks
If the argument is not a path but only the name, the value of the property RemoteDirectory or LocalDirectory is used to build the path.
See Also