NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use copy command in cmd.exe with call executable step

I want to invoke cmd.exe by using call executable step.

I did the following.

 

  • Pulled call executable from step to main sequence window
  • In File path name, gave cmd.exe and path as C:\windows\system32\cmd.exe
  • In Working Directory, selected "Use Current Working directory"
  • In Initial Window State, selected "Show Normally Activated"
  • In Argument Expression, I used "COPY source.dll destination.dll"

I saved and then executed the sequence file. I get an Run-time error.

Could not find file: "

Error Code: -17208; File or directory not found.

 

I even changed the Argument Expression to "/C COPY source.dll destination.dll" as per recommendation in one blog. This also didn't work.

 

Any help on this is appreciated

 

0 Kudos
Message 1 of 1
(2,710 Views)