# DOS Command Action

**URL:** https://www.finalbuilder.com/forums/t/dos-command-action/5853
**Category:** Bugs
**Created:** [August 11, 2013, 10:04am UTC](https://www.finalbuilder.com/forums/t/dos-command-action/5853 "2013-08-11T10:04:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![christian.leh](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/67e7ee/32.png) [@christian.leh](https://www.finalbuilder.com/forums/u/christian.leh)
#### Post date: [August 11, 2013, 10:04am UTC](https://www.finalbuilder.com/forums/t/dos-command-action/5853/1 "2013-08-11T10:04:35Z")

</div>

it seems you can't use string'ed arguments in this action like:

MyCmd.cmd "my string param"

Build log says:

The action that was executing threw an exception that was not handled.

Exception: ArgumentException Message: Illegal characters in path. Stack Trace: at System.IO.Path.CheckInvalidPathChars(String path) at System.IO.Path.GetExtension(String path) at Continua.Modules.Builds.Stepping.Actions.RunDosCommandAction.GetCommandLine(IBuildSteppingContext context) at Continua.Stepping.Actions.ExecuteAction`1.Execute(TContext context)

if i remove them its working but for sure, they args of my command are wrong.

---

<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: [August 12, 2013, 4:51am UTC](https://www.finalbuilder.com/forums/t/dos-command-action/5853/2 "2013-08-12T04:51:23Z")

</div>

Hi Christian,

This has been fixed and will be in the next build. Thank you.
