How to rename an existing folder

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

@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

7 Likes