# Store value from console Application

**URL:** https://www.finalbuilder.com/forums/t/store-value-from-console-application/5383
**Category:** Discussion
**Created:** [July 30, 2015, 2:54am UTC](https://www.finalbuilder.com/forums/t/store-value-from-console-application/5383 "2015-07-30T02:54:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![haggy](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/edb3f5/32.png) [@haggy](https://www.finalbuilder.com/forums/u/haggy)
#### Post date: [July 30, 2015, 2:54am UTC](https://www.finalbuilder.com/forums/t/store-value-from-console-application/5383/1 "2015-07-30T02:54:11Z")

</div>

Hi  
  
I’ve one build script which requires some complex logic to decide what projects to be build. For this i’d like to create a C# Console Application which resolves the full path of the solution.  
  
How could I manage to get this string value into a Continua Varibale ? Is there something i could pass to the console application which would sotre the value &nbsp;and make it accessible for my buildscript?

---

<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: [July 31, 2015, 2:24am UTC](https://www.finalbuilder.com/forums/t/store-value-from-console-application/5383/2 "2015-07-31T02:24:12Z")

</div>

Hi Haggy,  
  
Yes, you can use [custom log messages](http://wiki.finalbuilder.com/display/continua/Custom+Log+Messages). Write text with the following format to the console stdout.

`@@continua[setVariable name=‘solutionPath’ value=‘d:\pathToMySolution’ skipIfNotDefined=‘true’]`

&nbsp;  
The variable needs to be defined in the configuration first for this to work.
