# Commandline parameter

**URL:** https://www.finalbuilder.com/forums/t/commandline-parameter/719
**Category:** Discussion
**Created:** [January 17, 2008, 10:18am UTC](https://www.finalbuilder.com/forums/t/commandline-parameter/719 "2008-01-17T10:18:25Z")
**Posts on this page:** 3
**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: [January 17, 2008, 10:18am UTC](https://www.finalbuilder.com/forums/t/commandline-parameter/719/1 "2008-01-17T10:18:25Z")

</div>

Hi,

Is it possible to run a project with command line. But in a "way", where I can add arguments?

I know that I can start a project in a "normal commandline" mode. But I can't figure out how&nbsp; I can add arguments.

I've got different buildtypes where I normally use the "choose one" action. But this require that I have to click each time. Our buildmachine also run at night and then it should start automatically. For each buildtype I created a variable. For example %DailyBuild% By default %DailyBuild% is false. When I start the build with commandline and the argument&nbsp; is "-DailyBuild" the variable should turn from false to true...

Is this possible?

Many thanks!

Regards,

Christof

&nbsp;

---

<div class="post-metadata">

### Author: ![nirsilgi](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/a6a055/32.png) [@nirsilgi](https://www.finalbuilder.com/forums/u/nirsilgi)
#### Post date: [January 17, 2008, 10:58am UTC](https://www.finalbuilder.com/forums/t/commandline-parameter/719/2 "2008-01-17T10:58:13Z")

</div>

Here is the way I use it:

"C:\Program Files\FinalBuilder 5\FBCMD.exe" /VINPUTVERSION=2.0.0.0;AUTOBUILD=True;BUILDSORTER=True;BRANCHNAME=main /A /P"D:\FinalBuilder\XXX-Build.fbp5"

Basically you apply a parameter by the /V command then the parameters separated by ;

I also have a workflow that can run manually or automatically. I have a variable called AUTOBUILD which is always set to false unless I run it with the command line. In the interactive actions I have added a condition AUTOBULD=False, meaning they pop only if I run it manually. Of course you have to set all the parameters you need in the command line.

Hope this helps,

NirS

---

<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: [January 17, 2008, 1:03am UTC](https://www.finalbuilder.com/forums/t/commandline-parameter/719/3 "2008-01-17T01:03:40Z")

</div>

Hi

Yes great! Thats what I want!

Thanks a lot!

Regards,

Christof
