LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Close one CMD window leave the other one open

What am I doing wrong here?

 

The window I want to close

 

Win1.PNG

 

Attempt to kill it

 

 

 

kill2.PNG

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 11 of 13
(899 Views)

Haven't tried this at all, but did you notice the asterisk at the end of chembo's suggested command line to kill your process?

> and you can kill it with taskkill /FI "windowtitle eq win1*"

Does adding in that asterisk make it work for you?

0 Kudos
Message 12 of 13
(884 Views)

@nathand wrote:

Haven't tried this at all, but did you notice the asterisk at the end of chembo's suggested command line to kill your process?

> and you can kill it with taskkill /FI "windowtitle eq win1*"

Does adding in that asterisk make it work for you?


Doh! yep I need the *

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 13 of 13
(879 Views)