# Actions and property collectors

**URL:** https://www.finalbuilder.com/forums/t/actions-and-property-collectors/6752
**Category:** Discussion
**Tags:** actions, continua-ci
**Created:** [March 25, 2020, 8:22am UTC](https://www.finalbuilder.com/forums/t/actions-and-property-collectors/6752 "2020-03-25T08:22:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)
#### Post date: [March 25, 2020, 8:22am UTC](https://www.finalbuilder.com/forums/t/actions-and-property-collectors/6752/1 "2020-03-25T08:22:05Z")

</div>

Hi VSoft,  
which property collector is used by the Run DOS Command action? And is there a way how I can see for each action which property collectors they are using?  
My problem is that on one agent my Run DOS Command works (a simple ping 127.0.0.1) and on a other Agent i get the error ‘The executable was not found at path “”.’. And I get also no notification that my second agent is not compatible with that stage. I’m not sure but for me it looks like a problem with a property collector which is not set on the second Agent.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 25, 2020, 8:30am UTC](https://www.finalbuilder.com/forums/t/actions-and-property-collectors/6752/2 "2020-03-25T08:30:20Z")

</div>

The Run dos command doesn’t use property collectors, it uses the ComSpec environment variable. Have  
a look at the environment variables for that agent. The comspec typically points to

```
C:\WINDOWS\system32\cmd.exe

```

is it possible that C:\Windows\System32\PING.EXE is missing?

I would also check that your system path isn’t messed up.

---

<div class="post-metadata">

### Author: ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)
#### Post date: [March 26, 2020, 9:47am UTC](https://www.finalbuilder.com/forums/t/actions-and-property-collectors/6752/3 "2020-03-26T09:47:37Z")

</div>

Hi Vincent,  
the system which does not work does not have a environment variable called ‘ComSpec’. It’s a window Server 2016. Is it possible that this variable is not set in never windows server versions?  
BTW: The ‘Windows.cmd’ property collector is found.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 26, 2020, 9:53am UTC](https://www.finalbuilder.com/forums/t/actions-and-property-collectors/6752/4 "2020-03-26T09:53:00Z")

</div>

Which edition of Windows Server is it? As far as I can remember, every version of windows since 3 has had the comspec variable, and the windows 2016 servers we have here do.

---

<div class="post-metadata">

### Author: ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)
#### Post date: [March 26, 2020, 10:18am UTC](https://www.finalbuilder.com/forums/t/actions-and-property-collectors/6752/5 "2020-03-26T10:18:14Z")

</div>

It’s a windows server 2016 standard

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [March 30, 2020, 8:14am UTC](https://www.finalbuilder.com/forums/t/actions-and-property-collectors/6752/6 "2020-03-30T08:14:11Z")

</div>

Hi Albrecht,

We have added a property collector to the Run DOS Command / Batch File action in [version 1.9.1.638](https://www.finalbuilder.com/downloads/continuaci/continua-ci-version-history-v191) to handle this situation.
