perhaps
will work?Code:private sub command1_click() shell "xcopy c:\*.txt /s c:\backup" end sub
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).




Reply With Quote