Folder path->Y,
str= directory.getfiles(Y)
for each item in str
Before move check the current folder is root folder or sub folder using if condition.
Use ‘Move File’ activity
Or you can use invoke method to mive a folder Directory.Move(sourceDir, destinationDir)
Using create Directory you can create a folder in the path.
I have already used invoke method in that new folder is being created and the source folder is deleting . i want to move the sub folders without creating new folder.
Can you please tell me how to use directory.Move(sourceDir, destinationDir). Please give me sample xaml.