perhaps
Code:
private sub command1_click()
     shell "xcopy c:\*.txt /s c:\backup"
end sub
will work?
Its not vb6 problem; is a working directory problem (as Juridian stated). If you dont specify source path, windows will assume current (or working directory).