copy entire folder to x path

  • Thread starter Thread starter kevin
  • Start date Start date
K

kevin

Greetings.

I am well aware that visual studio.net (vb.net) has the option of using
their custom installer software, but i insist on creating my own.

I am relatively new, and so i am looking for a quick and easy solution.

I have a folder that we will call X. It has several sub directories and
files within.

I need an efficient way for retrieving a path name from the user through a
text box perhaps, and copying the X directory (all its contents) to the
destination path the user inputed.

I looked all over MSDN and found ways to copy files individually, but i need
to copy an entire folder.

Your help is greatly appreciated.
 
* "kevin said:
I am well aware that visual studio.net (vb.net) has the option of using
their custom installer software, but i insist on creating my own.

I am relatively new, and so i am looking for a quick and easy solution.

I have a folder that we will call X. It has several sub directories and
files within.

I need an efficient way for retrieving a path name from the user through a
text box perhaps, and copying the X directory (all its contents) to the
destination path the user inputed.

I looked all over MSDN and found ways to copy files individually, but i need
to copy an entire folder.

P/invoke, C# sample:

<http://www.palmbytes.de/content/dotnetmisc/dl/shellfileoperation.zip>
 
Back
Top