JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. SWSServer.RenameFile Rename a file to a new name within the same directory. Syntax Parameters Return Value Function SWSServer.RenameFile( _ uriSource As String, _ newName As String, _ Optional bCreateUnique As Boolean = False) As String uriSource [in] Type: String newName [in] Type: String bCreateUnique [in, optional] Type: Boolean Default value: False String. Copyright © 2020. TIBCO Software Inc. All Rights Reserved.