Command line 是否使用命令行获取指定标签的VSS项目树?
与这个问题类似: 我正在尝试编写一个脚本,以获取指定标签的VSS项目树。我有这个:Command line 是否使用命令行获取指定标签的VSS项目树?,command-line,visual-sourcesafe,Command Line,Visual Sourcesafe,与这个问题类似: 我正在尝试编写一个脚本,以获取指定标签的VSS项目树。我有这个: :: 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 V
:: 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
我肯定是在传递一个有效的标签(V1.0.29),但它只是回来了
找不到版本
使用一个名为TempLabel的版本进行了尝试,效果很好!只是点吗
有人知道如何在命令行上列出项目的所有标记版本吗
--Alistair花了几个小时后,我终于找到了您提供的脚本中的小故障 简单地用下面一行中的Vl替换Vl。剩下的是完美的
%ss% get %VSSRoot% -Vl%version% -GLtemp -R
享受吧
阿西夫