perhaps



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...