DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I tell the CMD.exe to copy certain files from DIAdem?

I am a bit confused on how to tell CMD.Exe to copy certain files.

 

Goal, I want to copy

.VBS

.URI

.TDR

from V:\ drive >>> to D:\ drive

 

I do want to have to call 3 different CMD boxes to complete this but I will.  Is there any way to do it?

 

Call

ExtProgram("cmd.exe","/c xcopy V:\test\Technical_Information\DIAdem_Scripts\*.vbs D:\\Technical_Information\DIAdem_Scripts\ /y /d /c /i /s")

0 Kudos
Message 1 of 5
(5,068 Views)

Is it possible for you to use the DIAdem command FileCopy for this?

 

Greetings

Walter

0 Kudos
Message 2 of 5
(5,067 Views)

Would it work if you are pulling files from a Server ?

0 Kudos
Message 3 of 5
(5,062 Views)

The problem I have found with FileCopy cmd is that it copies everything but with the xcopy in CMD.exe I can use the /d switch to help with speed of download.

 

Can FileCopy do that ?

0 Kudos
Message 4 of 5
(5,054 Views)

Not with one command, but DIAdem supports several file handle commands like FileDateGet or FileAttrCheck (please have a look at the DIAdem help). With that you can check whether to copy a file or not.

 

Greetings

Walter

0 Kudos
Message 5 of 5
(5,046 Views)