Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Object for to move a file by lookout

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

Message 11 of 13
(1,442 Views)

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!

0 Kudos
Message 12 of 13
(1,427 Views)

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?  Smiley Very Happy

-Khalid

Message 13 of 13
(1,425 Views)