<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Agent Actions and quotes]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Do " get stripped out of parameters when calling an Action via Object Tools? I am trying to run a netsh command which requires me to place the interface name in quotes, but the command is not working and the command is logged without quotes in the agent log (debug level 7). The command also seems to be cut short, (presumably related to the quotes).</p>
<p dir="auto">I have an action that triggers the following:</p>
<pre><code>cmd /c $1
</code></pre>
<p dir="auto">and I am passing</p>
<pre><code>netsh interface ipv4 show subinterface interface="Ethernet 2"
</code></pre>
<p dir="auto">The log then tells me it is executing this:</p>
<pre><code>cmd /c netsh interface ipv4 show subinterface interface=Ethernet
</code></pre>
<p dir="auto">And the result is that the command of course doesn't work as expected.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netxms.org/topic/5233/agent-actions-and-quotes</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:55:03 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5233.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Sep 2017 21:55:26 GMT</pubDate><ttl>60</ttl></channel></rss>