Table of Contents

RENAMEDIR Service

Description

Renames a directory.

Note: This is a Windows only function.

NOTE: This function is deprecated in OpenInsight 10.0 and above. Please use the RTI_OS_DIR() function instead.

Parameters

ParameterDescription
<object>Directory name to rename.
<value>New directory name.

Returns

True if success, false if failed.

See Also

BEEP Service

DESTROY Service

REMOVEDIR Service

CHOOSECOLOR Service

FLUSH Service

RENAMEDIR Service

CHOOSEDIR Service

GET_EVENT Service

RENAMEFILE Service

CHOOSEFILE Service

GETLOGICALDRIVES Service

RUNHELP Service

CHOOSEFONT Service

MAKEDIR Service

RUNWIN Service

COPYFILE Service

OBJECTID Service

TEXTRECT Service

CREATE Service

OBJECTLIST Service

WINCOUNT Service

CURSOR Service

PRINTSETUP Service

Utility function

Example

Declare function Utility

dir = 'C:\temp\my_dir'

newDir = 'C:\temp\my_new_dir'

renameDir = Utility('RENAMEDIR',dir,new_dir)