Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

moving csv files generated by Lookout to another computer

How can I move data files (for Hypertrend, csv format, etc) generated by lookout periodically? Is there a command that can be used with RUN object not to copy, but to move files to anther location?
0 Kudos
Message 1 of 2
(3,222 Views)

Hello 23r23,

Running the move command from the cmd (DOS prompt) using Lookout's run object would move the files. The following command for example moves the contents of c:\temp to the temp directory on the network machine \\hurricane:

"cmd /c move /y c:\temp\*.* \\hurricane\temp"

/c launches the cmd and then terminates when done
/y suppress the "overwrite" warning if the files already exist

Note that you can move CSV and other files with this. But, not historical data files (from Citadel, i.e., the *.thd) because they are "currently in use." You may want to use the CitadelControl object for archiving the historical data more gracefully.

Hope this helps.

Regards,

Khalid


Message 2 of 2
(3,222 Views)