# Adding Label and Retrieving Label from VSS

**URL:** https://www.finalbuilder.com/forums/t/adding-label-and-retrieving-label-from-vss/562
**Category:** Discussion
**Created:** [August 16, 2007, 11:44am UTC](https://www.finalbuilder.com/forums/t/adding-label-and-retrieving-label-from-vss/562 "2007-08-16T11:44:20Z")
**Posts on this page:** 2
**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: [August 16, 2007, 11:44am UTC](https://www.finalbuilder.com/forums/t/adding-label-and-retrieving-label-from-vss/562/1 "2007-08-16T11:44:20Z")

</div>

Try this scenario.

Label a File on&nbsp; VSS using the following inputs:

-Project: {whatever your project is}

-FileSpec: \*.\*

-New Label: fahdr

-Label Type: Text

-Answer Yes to Input Prompts: Check

Now this label would appear on the project files as seen by manually going into Visual Source Safe. However using FinalBuilder to retrieve this project would result in an error. Give the following inputs to Get the Project based on Label fahdr.

VSS Get Latest Version with the following inputs:

-Project: {whatever your project is}

-File: \*.\*

-Options: Recursive, BuildTree, Answer Yes to Input Prompts

-Label: fahdr

-Label Type: Text

-Answer Yes to Input Prompts: Check

This will result in an Error saying: Version not found.

WorkAround to this:

When putting Label use the above mentioned Method, however, the Input for FileSpec shoud be left empty instead of \*.\*.

---

<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: [August 17, 2007, 1:13am UTC](https://www.finalbuilder.com/forums/t/adding-label-and-retrieving-label-from-vss/562/2 "2007-08-17T01:13:43Z")

</div>

Hi Fahd,   
  
This isn't really so much a FinalBuilder bug as a quirk in VSS.   
  
When you do a Label on \*.\*, you're actually labelling all of the files inside the project with that label.   
  
When you do a Label without a filespec, you're actually labelling the project, not the files inside the project.   
  
When you do a Get on \*.\*, it seems like VSS looks for a project with that label, instead of a project where all of the files inside the project have that label. Don't ask me why, it's just VSS's quirkiness I think.   
  
Regards,   
  
Angus

&nbsp;

PS I moved your post from Automise Bug Reports to FinalBuilder General.
