Rename SolidWorks File

Hello All,

I am using vb.net. I am able to copy the solidworks file from one location to other but how to rename the files in the new location in the code itself?

I tries using document manager component.Replace() method but I want to create a copy of the file and rename it with a new name.

I also saw there is an option in SolidWorks Explorer but that will consume time as there are many files to be renamed

How to do this??

Thank You

SolidworksApi macros