ich hatte mir runshell nicht angeschaut. So läuft es jetzt bei mir:
Code: Alles auswählen
runshell('"' + cQuellpfad + '\*.*" "' + cZielpfad + '\' + cDatum + '\*.*" /s', "xcopy.exe", .t.)
Code: Alles auswählen
runshell('"' + cQuellpfad + '\*.*" "' + cZielpfad + '\' + cDatum + '\*.*" /s', "xcopy.exe", .t.)
Code: Alles auswählen
runshell('xcopy "' + cQuellpfad + '\*.*" "' + cZielpfad + '\' + cDatum + '\*.*" /s',.t.)