Rename a file name using the Invoke Code activity

Hi,
Here i have attached sample file that to rename a file name using the code invoke activity.

File : ReNamingFile.zip (1.8 KB)

Regards
Balamurugan.S

3 Likes

So this does exactly what the move file activity does, but uses InvokeCode instead (which is slower by definition) and relies on VB specific namespace instead of system one.
What’s the purpose?

Don’t get me wrong - its a nice and short example for InvokeCode, but the application of it makes me a little unease, because someone might actually use that in production.

2 Likes

Hi @andrzej.kniola,
Thank you for the review for this. I was explaining the Code Invoke activity one of my colleague by this example to be useful some one.
Thank you
Balamurugan.S

2 Likes