I've been playing with VB6 a little and was wondering how someone could code this.
I'm trying to copy several files with the same extention (ex: *.txt) from several folders to one.
the command FileCopy only allows for one file at a time (that I know of)
I tried using the shell "xcopy" command but only get the files from the directory that the VB program runs from.
private sub command1_click()
shell "xcopy *.txt /s c:\backup"
but I don't get the same result as when I'm in DOS.
Any suggestions, or corrections?