# Cannot specify more than two targets in FBCMD /t parameter

**URL:** <https://www.finalbuilder.com/forums/t/cannot-specify-more-than-two-targets-in-fbcmd-t-parameter/3684>\
**Category:** Bugs\
**Created:** [February 14, 2018, 3:55am UTC](https://www.finalbuilder.com/forums/t/cannot-specify-more-than-two-targets-in-fbcmd-t-parameter/3684 "2018-02-14T03:55:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![uraabe](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/uraabe/32/2502_2.png) [@uraabe](https://www.finalbuilder.com/forums/u/uraabe)\
**Post date:** [February 14, 2018, 3:55am UTC](https://www.finalbuilder.com/forums/t/cannot-specify-more-than-two-targets-in-fbcmd-t-parameter/3684/1 "2018-02-14T03:55:28Z")

</div>

When I specify more than two targets for FBCMD with the /t parameter I get an error code 2 (INVALIDARGS) with the error message   
 “The requested Target [\<list of targets starting with the second one\>] was not found in the project.” \<br /\> \<br /\> FinalBuilder version 8.0.0.2338 \<br /\> \<br /\> As file attachment doesn’t work, I provide the content of a simple FB project with several (empty) targets for quick testing: \<br /\> \<br /\> project \<br /\> begin \<br /\> projectid = {9D5DF56C-D6ED-4F6D-8A7F-2F474F4521D3} \<br /\> target \<br /\> begin \<br /\> name = Default \<br /\> targetid = {A23FA9BE-2026-4F50-81B6-904989B046E7} \<br /\> rootaction \<br /\> begin \<br /\> action.fbserver.set-build-log-title \<br /\> begin \<br /\> actiontypeid = {5F8E8353-201E-41DB-8D10-809BEEC6C148} \<br /\> customactionname = “Set Build Log Title” \<br /\> enabletimeout = false \<br /\> id = {C5A20789-395B-4831-9960-E651CE3BB120} \<br /\> impersonateusenetcredonly = false \<br /\> impersonateuser = false \<br /\> terminateontimeout = true \<br /\> timeoutlength = 2 \<br /\> as.title = “Hello World” \<br /\> end \<br /\> end \<br /\> end \<br /\> target \<br /\> begin \<br /\> name = Prepare \<br /\> targetid = {0EAC97E3-45C0-4941-B180-F3497E1F2BAC} \<br /\> rootaction \<br /\> begin \<br /\> end \<br /\> end \<br /\> target \<br /\> begin \<br /\> name = BuildAllPackages \<br /\> targetid = {D3E95295-8997-4015-97B0-6E7924641032} \<br /\> rootaction \<br /\> begin \<br /\> end \<br /\> end \<br /\> target \<br /\> begin \<br /\> name = SignAllPackages \<br /\> targetid = {C9C906F9-1DDA-4846-ABCC-78748E1073F5} \<br /\> rootaction \<br /\> begin \<br /\> end \<br /\> end \<br /\> target \<br /\> begin \<br /\> name = BuildDocumentation \<br /\> targetid = {D20A3837-B3B8-4063-B501-496E2F294928} \<br /\> rootaction \<br /\> begin \<br /\> end \<br /\> end \<br /\> target \<br /\> begin \<br /\> name = CreateSetup \<br /\> targetid = {36B6D296-BA79-43DB-A284-C48FD121B042} \<br /\> rootaction \<br /\> begin \<br /\> end \<br /\> end \<br /\> target \<br /\> begin \<br /\> name = Publish \<br /\> targetid = {F5EEBFBC-5DF3-4FDE-B22F-0BCBE2EAF857} \<br /\> rootaction \<br /\> begin \<br /\> end \<br /\> end \<br /\> end

---

<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:** [February 14, 2018, 8:12am UTC](https://www.finalbuilder.com/forums/t/cannot-specify-more-than-two-targets-in-fbcmd-t-parameter/3684/2 "2018-02-14T08:12:32Z")

</div>

I will test this today, but can you post the exact command line you used, and send the project file to support @ [finalbuilder.com](http://finalbuilder.com)

---

<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:** [February 14, 2018, 11:48am UTC](https://www.finalbuilder.com/forums/t/cannot-specify-more-than-two-targets-in-fbcmd-t-parameter/3684/3 "2018-02-14T11:48:14Z")

</div>

Nevermind, I found a bug in the targets parameter parser, writing more unit tests now!
