# My first project, running a batch file

**URL:** https://www.finalbuilder.com/forums/t/my-first-project-running-a-batch-file/5072
**Category:** Discussion
**Created:** [October 4, 2013, 5:21am UTC](https://www.finalbuilder.com/forums/t/my-first-project-running-a-batch-file/5072 "2013-10-04T05:21:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gastelllo](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/47e85d/32.png) [@gastelllo](https://www.finalbuilder.com/forums/u/gastelllo)
#### Post date: [October 4, 2013, 5:21am UTC](https://www.finalbuilder.com/forums/t/my-first-project-running-a-batch-file/5072/1 "2013-10-04T05:21:06Z")

</div>

I've got my repository connected to CCI and I'm trying to create a config to start my build process which is done with a batch file. &nbsp;I added an action for the bat file

Command: &nbsp;build.bat

Working Directory: $Workspace$\$Source.ContinuaCore$

And I'm getting the following error:

The action that was executing threw an exception that was not handled.  
Exception: Win32Exception Message: The directory name is invalid Stack Trace: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at Continua.Stepping.Actions.ExecuteAction`1.Execute(TContext context)&nbsp;

I've tried dozens of combinations but something is wrong with my path. &nbsp;Any suggestions?

---

<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: [October 7, 2013, 8:50am UTC](https://www.finalbuilder.com/forums/t/my-first-project-running-a-batch-file/5072/2 "2013-10-07T08:50:21Z")

</div>

You still need to provide the path to the batch file in the workspace. If you didn’t alter the repository rules on the stage, then the path would be :   
  
 $Source.ContinuaCore$\build.bat (assuming it’s in the root of the repository).   
  
 $Source.RepoName$ will by default map to $Workspace$\Source\RepoName   
  
 Repository rules are explained on this page : [http://wiki.finalbuilder.com/x/\_QAZ](http://wiki.finalbuilder.com/x/_QAZ)
