Move()

Directory::Move(const String&, const String&) method

Moves the specified entity to the new location. If the entity to move is a directory, it is moved with all its content.

static void System::IO::Directory::Move(const String &sourceDirName, const String &destDirName)

Arguments

ParameterTypeDescription
sourceDirNameconst String&A directory or file to move
destDirNameconst String&The new location of sourceDirName

See Also