views:

27

answers:

0

Similar to this question:

http://stackoverflow.com/questions/911426/get-all-files-from-vss-for-a-given-date

I am trying to write a script that get a VSS project tree for a specified label. I have this:

:: Path to the SS.exe command
set ss="C:\Program Files\Microsoft Visual SourceSafe\ss"

:: Path to the srcsafe.ini file for the repository
set SSDIR=\\Glopsvrfile01\VSS_Data

:: Path to the project root in VSS
set VSSRoot="$/Customers/MyCustomer/MyProject"

set /p version="Please enter a SourceSafe label: "

mkdir temp

:: vvv Here is the command vvv
%ss% get %VSSRoot% -Vl%version% -GLtemp -R

del /s /q temp\*.*
rmdir temp

and I am definitely passing in a valid label (V1.0.29) but it just comes back with Version not found

Having tried it with a version labeled TempLabel, that works! Is it just the dots?

Does anyone know how to list all the labeled versions of a project on the command line?

-- Alistair