Rename a file name using the Invoke Code activity

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

File : (1.8 KB)



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.

1 Like

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

1 Like