Passing windows slash (/) based parameters to a program from bash script
<p>I'm trying to run the following from my bash script. <em>(bash installed via msysgit)</em></p>

<pre><code>taskkill /IM ssh-agent.exe
</code></pre>

<p>The output I get on the screen from <code>taskkill</code> is:</p>

<pre><code>ERROR: Invalid argument/option - 'C:/Program Files/Git/IM'.
Type "TASKKILL /?" for usage.
</code></pre>

<p>The executible is running, but the <code>/IM</code> is being expanded regardless of what I try to do to escape it...</p>

<hr>

<p>I've tried using <code>\/IM</code> but then it sends <code>\/IM</code> without escaping the slash, I've tried a few different ways of running it through eval, cmd /c start, etc... but they all seem to have issues.  I've also tried <code>set -o noglob</code>, which also didn't work.  neither did <code>$'\057/'IM</code> or similar attempts...</p>