Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
How to change the directory path in c#?


The source Folder is D:/WRT/

Currently My folder structure comes as D:/WRT/X/AB/2016/01/28

I want to change it to D:/2016/01/28/WRT/X/AB
Posted
Comments
Sergey Alexandrovich Kryukov 28-Jan-16 1:21am    
What do you mean by that? Change of current directory of your application? something else? or actually move files? Change what?
—SA
Sinisa Hajnal 28-Jan-16 2:43am    
Create new folder you need, move the content of the original directory and after success, delete it.
Beginner Luck 2-Feb-16 3:27am    
why use absolute directory path but not relative directory

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900