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

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!!!
0
hirschhouse
Asked:
hirschhouse
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
Erick37Commented:
"Copy, Move, Delete Files and Folders Using SHFileOperation"

http://www.thescarms.com/vbasic/fileops.htm
0
 
hirschhouseAuthor Commented:
Thanks, That is great! You hit the nail on the head.

Ben...
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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