# FBCMD resets persistent variable

**URL:** https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727
**Category:** Bugs
**Created:** [December 4, 2006, 12:04pm UTC](https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727 "2006-12-04T12:04:16Z")
**Posts on this page:** 8
**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: [December 4, 2006, 12:04pm UTC](https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727/1 "2006-12-04T12:04:16Z")

</div>

I use a persistent variable to store the actual build number.  
  
With the IDE everything works fine, but when i try to schedule a build with the command line version it resets the variable to the default value.  
Running the same project via scheduler using the IDE-Version works!  
  
Ok, its a workaround to use the IDE-Version everytime but so the commandline becomes useless.

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [December 5, 2006, 4:16am UTC](https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727/2 "2006-12-05T04:16:39Z")

</div>

Hi Andreas,  
  
Sorry about that. Bug found and fixed - will post here when a new build is ready.  
  
cheers,  
tate.

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [December 6, 2006, 1:09am UTC](https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727/3 "2006-12-06T01:09:25Z")

</div>

Here’s the new build:  
[https://www.finalbuilder.com/downloads/finalbuilder/500/FB500\_84.exe](https://www.finalbuilder.com/downloads/finalbuilder/500/FB500_84.exe)

---

<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: [December 15, 2006, 8:23am UTC](https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727/4 "2006-12-15T08:23:09Z")

</div>

Would you consider fixing this for version 4?

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [December 18, 2006, 1:39am UTC](https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727/5 "2006-12-18T01:39:02Z")

</div>

Hi Sean,  
  
Yes, we put the fix into 4 but hadn’t done a test build until this morning. Here it is:  
  
[https://www.finalbuilder.com/downloads/finalbuilder/420/FB420\_312.exe](https://www.finalbuilder.com/downloads/finalbuilder/420/FB420_312.exe)  
  
- Angus

---

<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: [December 27, 2006, 8:07am UTC](https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727/6 "2006-12-27T08:07:19Z")

</div>

Thanks for the fix Angus, but there is still a problem.  
  
The peristent variables work fine, but it appears that the variables passed in on the command line are now being ignored.  
  
Sean

---

<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: [December 29, 2006, 2:55am UTC](https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727/7 "2006-12-29T02:55:41Z")

</div>

Hi Sean  
  
I was able to reproduce this here. I will try to get a fix in today and kick off a build, I’ll post here when I have a build with the fix.

---

<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: [December 29, 2006, 4:52am UTC](https://www.finalbuilder.com/forums/t/fbcmd-resets-persistent-variable/2727/8 "2006-12-29T04:52:34Z")

</div>

Hi Sean  
  
A build with the fix is available from here :  
  
[https://www.finalbuilder.com/downloads/finalbuilder/420/FB420\_313.exe](https://www.finalbuilder.com/downloads/finalbuilder/420/FB420_313.exe)
