NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i type spaces in DOS path names using cmd via call executable

Solved!
Go to solution

TestStand 4.1 using call executable to call cmd with the argument expression (slightly edited)

 

"/C atprogram ... --verify -f C:\\test\\my folder\\map.hex > C:\\TEMP\\result.txt"

 

I can't use more quotes around "my folder" and my^ folder isn't accepted by atprogram.

 

Cheers,

0 Kudos
Message 1 of 5
(4,973 Views)

can you use single quotes?  Or is that a no go as well for that program?

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 5
(4,971 Views)
Solution
Accepted by topic author Drash

Hi

 

To enter a " in the arguments text box you have to enter \" instead:

your string should look like that: 

 

"/C atprogram ... --verify -f \"C:\\test\\my folder\\map.hex\" > C:\\TEMP\\result.txt"

 

Hope that helps

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 3 of 5
(4,955 Views)

I tried single quotes but no joy I'm afraid.  Thanks for the suggestion though.

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

Many thanks Juergen! I was scratching my head for longer than I'd like to admit on that one.

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