# TFS2010 VC commands

**URL:** https://www.finalbuilder.com/forums/t/tfs2010-vc-commands/1706
**Category:** Discussion
**Created:** [February 22, 2011, 6:22am UTC](https://www.finalbuilder.com/forums/t/tfs2010-vc-commands/1706 "2011-02-22T06:22:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![garthbf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@garthbf](https://www.finalbuilder.com/forums/u/garthbf)
#### Post date: [February 22, 2011, 6:22am UTC](https://www.finalbuilder.com/forums/t/tfs2010-vc-commands/1706/1 "2011-02-22T06:22:24Z")

</div>

the unmap working folder does not work for me because I can't pass the collection or owner parm to it. see the errors:

Path to Executable: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe  
Command line: workfold /workspace:A23183-DM /unmap c:\data\build\ebiz\source  
Multiple workspaces exist with the name A23183-DM.  
Please specify the Team Foundation Server or qualify the name with the owner.  
Failed!  
&nbsp;

per the TF.exe docs... I should be able to use /collection:http://tfsdev:8080/tfs/defaultcollection

thanks,

Garth

---

<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: [February 23, 2011, 1:41am UTC](https://www.finalbuilder.com/forums/t/tfs2010-vc-commands/1706/2 "2011-02-23T01:41:31Z")

</div>

Hi Garth,   
 I added the ability to specify a collection for unmap, but my testing didn’t get too far. According to MSDN /collection isn’t actually a valid flag to the workfold command: [http://msdn.microsoft.com/en-us/library/0fa04bx6(v=vs.80).aspx](http://msdn.microsoft.com/en-us/library/0fa04bx6(v=vs.80).aspx)   
  
 Can you point me at the TF docs you were looking at?   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![garthbf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@garthbf](https://www.finalbuilder.com/forums/u/garthbf)
#### Post date: [March 1, 2011, 8:35am UTC](https://www.finalbuilder.com/forums/t/tfs2010-vc-commands/1706/3 "2011-03-01T08:35:13Z")

</div>

here is the doc link.

[http://msdn.microsoft.com/en-us/library/0fa04bx6.aspx](http://msdn.microsoft.com/en-us/library/0fa04bx6.aspx)

Also the command

tf workfold /unmap [/collection:TeamProjectCollectionUrl] [/workspace:workspacename]   
[/recursive] (serverfolder|localfolder) [/login:username,[password]]

thanks,

Garth.
