How to rename an existing folder

activities
studio

#1

I have a folder, i want to rename it without changing the permissions on it. Can someone help me on it.
Thanks.


#2

@sannabattula
Use invoke Method activity and specify properties as below-
TargetType: System.IO.Directory
TargetObject: (Dont specify anything)
MethodName: Move
Parameters:
1. Specify source directory Path
2. Specify Target directory path