# Problem executing finalbuilder 6 project with parameters from command line

**URL:** https://www.finalbuilder.com/forums/t/problem-executing-finalbuilder-6-project-with-parameters-from-command-line/1881
**Category:** Discussion
**Created:** [October 20, 2011, 1:43am UTC](https://www.finalbuilder.com/forums/t/problem-executing-finalbuilder-6-project-with-parameters-from-command-line/1881 "2011-10-20T01:43:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 20, 2011, 1:43am UTC](https://www.finalbuilder.com/forums/t/problem-executing-finalbuilder-6-project-with-parameters-from-command-line/1881/1 "2011-10-20T01:43:52Z")

</div>

Hi All,

I am trying to execute my finalbuilder project from command line using the following command

C:\Program Files(x86)\FinalBuilder 6\>FBCMD.exe/VversionNumber=3/P"C:\Users\tim\Desktop\Importer FinalBuilder.fbp6"

&nbsp;and when I run this command I get this message.

**Exit with return code: 2**

**Error! Project file not specified.**

&nbsp;

I am not sure what I am doing wrong as I am already passing the project file following '/P' in the command.

&nbsp;

Please could someone help me resolve it?

&nbsp;

Thanks

&nbsp;

---

<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 20, 2011, 1:52am UTC](https://www.finalbuilder.com/forums/t/problem-executing-finalbuilder-6-project-with-parameters-from-command-line/1881/2 "2011-10-20T01:52:50Z")

</div>

you are missing a space between the 3 and /

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 20, 2011, 2:06am UTC](https://www.finalbuilder.com/forums/t/problem-executing-finalbuilder-6-project-with-parameters-from-command-line/1881/3 "2011-10-20T02:06:20Z")

</div>

cool,thanks for that.

I tried to rerun the command with space included and I now get this error

**.Net framework version you are trying to use is not installed.change the version in the action properties or the default in FinalBuilder options.**

I have changed the default .Net framework version for FinalBuilder to 4.0 by navigating to Tools-\>options and restarted FinalBuilder and checked the version set to v4.0.Then I ran the project from command line,but I still get the error.When I recheck the version number its been set to v3.5 again. I am not sure why finalbuilder is not saving the version information once I change it.Also my project builds fine when I run it from FinalBuilder6 UI instead of command line.

So I wonder if I need to update anything else.

&nbsp;

Thanks

---

<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 20, 2011, 2:24am UTC](https://www.finalbuilder.com/forums/t/problem-executing-finalbuilder-6-project-with-parameters-from-command-line/1881/4 "2011-10-20T02:24:02Z")

</div>

This sounds like a bug that was fixed, make sure you have the latest FB6 version.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 20, 2011, 2:40am UTC](https://www.finalbuilder.com/forums/t/problem-executing-finalbuilder-6-project-with-parameters-from-command-line/1881/5 "2011-10-20T02:40:32Z")

</div>

yes,I got FinalBuilder 6.3.0.2172 on my machine.But when I run from comandline i still refer to it as FinalBuilder 6 .Not sure if that is right.
