invoke method move directory with files from one location to another location

I have to move directory with file from source location to destination location url.
i want to use invoke method System.IO.Directory.Move() method but i am getting error like it public static method “Move” is not in Directory. so please help me how can i use invoke method to call this “Move” method

1 Like

Take a look at this:

Looks like you need to set the TargetType to System.IO.Directory, then Move for MethodName.

@pankajs3
A sample xaml buddy that could help with this
invokemovefile.xaml (4.5 KB)

Cheers

Hi @pankajs3

find the attachment below,
Move.zip (12.1 KB)

I hope this will help you

Thanks everyone i have done it

1 Like