• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

How to move a directory to a network share

I'm experiencing difficulties moving a folder to a networks share (and even to a different volume!!)

All the method I've found and worked with, can only move dirs to the same volume (eg, c:\test c:\foo\test) but will fail if I use a different disk as destination (eg, c:\test e:\test).

I tried both with System.IO.Directory.Move() and Scripting.FileSystemObject.MoveFolder() but neither worked!

So, how to move a directory to a \\server\shared folder?

1 Solution
Gianluigi_Zanettini-MegaLab_itAuthor Commented:
Easy enough, just COPY & REMOVE fixed any problem.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now