How to

move directory

Published: 13. December 2008 | Updated: 13. December 2008
License: Microsoft Public License (MS-PL)
Categories: File system » Directories
Tags: C# File System
Was this snippet helpful for you? YESYES / NONO

Move directory using C#

Import namespaces

using System.IO;

Code

Directory.Move(@"C:\Test\", @"C:\Test2\");
Send us feedback about this snippet »



Related Snippets: