Copy & Paste

Okay here we go,
What is the VB6.0 code to copy and paste from dir or drive to a different dir or drive, then delete the source data. Here is a example in DOS terms: xcopy /s d:\test c:\newdir
del /Q d:\test

those two commands will copy data from d:\test to c:\newdir, then delete the contents of d:\test. I whant the VB equivelent!!!
Who is Participating?
Erick37Connect With a Mentor Commented:
"Copy, Move, Delete Files and Folders Using SHFileOperation"
Éric MoreauSenior .Net ConsultantCommented:
hirschhouseAuthor Commented:
Thanks, That is great! You hit the nail on the head.

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.

All Courses

From novice to tech pro — start learning today.