03-17-2006 04:38 PM
I had the destination folders already created. As Rkdomer suggested, you may want to use the xcopy command with the /I switch. So, the following statement works for me when I do not have all the folders in the destination path:
"cmd /c xcopy /y /I ""c:\data\servos\uxlx\2006\mar\17\shift2\*.*"" ""G:\Data\Servos\UxLx\2006\Mar\17\Shift2"""
-Khalid
03-20-2006 07:30 AM
This XCOPY does work, thanks. I'll try a couple more things like to replace the text of the command in the Run object by the content of an expression object. The goal is that the program moves out a copy of the database after a work shift has been finished. I must introduce some more program to get this done.
I'll reply this again today if the text expression object does not work well inside the run object.
Thanks very much for all your efforts, I'm glad that the quality of your support team is that high!
03-20-2006 09:57 AM
I am glad things worked out for you.
By the way, I am not with NI's Support team. I am usually here only because I like Lookout -- pretty altruistic of me, eh?
-Khalid