Visual Studio Development Bookmark and Share   
 index > Visual Studio Source Control and SourceSafe > VSS Batch example
 

VSS Batch example

Hello all,

I would like to write a batch that get a VSS project from my vss Data base to my Test server (local folder).

I wrote this batch but when i check my local Recette folder, there is nothing. but in the script i have a 0 error code.

Help me :)


@echo ss Get $/DEVELOPPEMENT/%1
ss Get $/RECETTE/%1

if errorlevel 100 goto BAD_FAILURE
if errorlevel 1 goto EXIT_CODE_1

rem Exit code 0, pas de fichier à récupèrer // Mean no file to take
@echo code retour %errorlevel%
goto END


Ludovic Bouaziz - MCSD .net
Xldaoul  Tuesday, September 15, 2009 10:36 AM
Catherine Sea  Thursday, September 17, 2009 5:41 AM
Hi,

Do you want to get the project $/RECETTE/%1 to your working folder? It seems '%' is not a validcharacter for a project name.



Catherine Sea
Version Control Software | Software Configuration Management Solution

Catherine Sea  Wednesday, September 16, 2009 2:54 AM
no %1 mean first parameter in theDos command language.
Ludovic Bouaziz - MCSD .net
Xldaoul  Wednesday, September 16, 2009 8:00 AM
Catherine Sea  Thursday, September 17, 2009 5:41 AM

You can use google to search for other answers

Custom Search

More Threads

• VSTS with VSS IDE
• Link 2 fles in VSS
• Non-blocking GetSccGlyph
• Open Remote Database
• Windows batch script that will automate the check-in all files recursively into VSS into the same folder structure
• lost history project
• Vss data store
• Open from VSS 2005
• SourceSafe plug-in in Beta2?
• VSS 2005 + Visual Studio 2003 using internet connection to database