<?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[Feature request: move [params] to a different spot]]></title><description><![CDATA[<p dir="auto">I've been using TriggerCMD since it had appeared as a IFTTT service, and frankly I like when I use the parameters in a CMD/PowerShell. Now, I would really wish if there's a way to move the [params] variable to a different section. For instance, I want the command to restart OR shutdown in 5 minutes. The way I want it to work would be something like <code>shutdown [params] /t 5</code>. When I tried to add the placeholder myself, with <strong>Allow Paramaters</strong> to <code>true</code>, there is 2 param duplicates such as <code>shutdown [params] /t 5[params]</code>. Is there a way to do that? If not, please have that feature in the near future.</p>
]]></description><link>https://www.triggercmd.com/forum/topic/704/feature-request-move-params-to-a-different-spot</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 04:55:47 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/704.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 May 2020 06:14:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Feature request: move [params] to a different spot on Thu, 28 May 2020 05:31:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> well never mind, I manage to find a workaround. But I would hope to see a advantage to move the PARAMs and/or more PARAMs in the future. It would be interesting.....</p>
]]></description><link>https://www.triggercmd.com/forum/post/2243</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2243</guid><dc:creator><![CDATA[mikey186]]></dc:creator><pubDate>Thu, 28 May 2020 05:31:18 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: move [params] to a different spot on Sat, 23 May 2020 14:57:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/3332">@mikey186</a>, I'm probably missing something, but if the cmd script is local to the computer running the backup, it seems to me you don't even need TRIGGERcmd - you could just make the post-backup command run the cmd script.</p>
<p dir="auto">If you do want to use TRIGGERcmd though, you could make the post-backup command run the <a href="https://www.triggercmd.com/forum/topic/196/tcmd-go-command-line-tool-is-available-now">tcmd</a> utility that can run any of your TRIGGERcmd commands - on a local or remote computer.</p>
]]></description><link>https://www.triggercmd.com/forum/post/2195</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2195</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sat, 23 May 2020 14:57:12 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: move [params] to a different spot on Sat, 23 May 2020 02:49:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> no, simply when a backup is completed, I want the post-command to send it to TriggerCMD to launch the cmd script.</p>
]]></description><link>https://www.triggercmd.com/forum/post/2192</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2192</guid><dc:creator><![CDATA[mikey186]]></dc:creator><pubDate>Sat, 23 May 2020 02:49:33 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: move [params] to a different spot on Sat, 23 May 2020 02:48:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/3332">@mikey186</a>, you want the backup program to run a command on a remote computer via TRIGGERcmd at the end of a backup job?  If not, please explain more about what you want to do.</p>
]]></description><link>https://www.triggercmd.com/forum/post/2191</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2191</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sat, 23 May 2020 02:48:03 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: move [params] to a different spot on Sat, 23 May 2020 02:42:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> I like the idea. Though with two parameters (maybe more if needed)? That would be even more better with an ultimate advantage. Especially if I have a backup program (like AOMEI Backupper with cmd prompts OR a BAT script w/parameters on top).</p>
<p dir="auto">Although one way I would wish it would be better is if there is a TriggerCMD exe to execute the CMD commands. For instance, in AOMEI backupper, I want to send the post-command to TriggerCMD to fire up the script.</p>
<p dir="auto"><img src="https://i.imgur.com/XggdlKQ.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.triggercmd.com/forum/post/2190</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2190</guid><dc:creator><![CDATA[mikey186]]></dc:creator><pubDate>Sat, 23 May 2020 02:42:22 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: move [params] to a different spot on Fri, 22 May 2020 12:07:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/3332">@mikey186</a>, that's an interesting idea.  I made it so the parameters get tacked on to the end of your command after a space because the use-case I envisioned was a bash, batch, or powershell script.  Scripts allows you to use the script execution parameters anywhere in the commands, for example my TRIGGERcmd command could be <strong>c:\scripts\shutdown_or_reboot.bat</strong> and the batch script would have these contents:</p>
<pre><code>shutdown %1 /t %2
</code></pre>
<p dir="auto">Then I could remotely specify whether to reboot or shutdown, and specify how many seconds:</p>
<ul>
<li>Reboot in 10 seconds:   c:\scripts\shutdown_or_reboot.bat <strong>/r 10</strong></li>
<li>Shutdown in 5 seconds:  c:\scripts\shutdown_or_reboot.bat <strong>/s 5</strong></li>
</ul>
<p dir="auto">So you can already do what you want to do, but I see value in your feature request because you could do the same thing without having to write a script.  I would probably implement with placeholders for each parameter with syntax similar to the <a href="https://www.triggercmd.com/forum/topic/341/voice-reply-field-now-allows-placeholders-for-trigger-computer-and-params">Voice Reply field</a>, like this:</p>
<p dir="auto">TRIGGERcmd command:  shutdown {{param1}} /t {{param2}}</p>
<p dir="auto">What do you think?</p>
]]></description><link>https://www.triggercmd.com/forum/post/2185</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2185</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 22 May 2020 12:07:51 GMT</pubDate></item></channel></rss>