Is there a solution to the issue with SVCS running Sourcesafe commands?
e.g. I always get:
--- Error: can't execute '"C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\Ss.exe" CP $/"xxxx" -I-'.
However, the Sourcesafe explorer always works and all the other commands use the same path.
My system is Windows XP and uVision 2.31
Maybe this knowledgebase article will help:
No luck I'm afraid. The basic sourcesafe explorer command (ssexp.exe) uses the same path as all the other sourcesafe commands and that works. It seems anything with a parameter associated with it fails. The output window displays the path encased in double quotes as per the article but I even tried adding additional quotes through the SVCS config dialog but it still failed.
I can specifiy the command the same as shown in the SVCS in a command shell and that works. Maybe its specific to XP?
The problem with the SourceSafe is that the program does not output clear error messages.
When the database is not found or the password does not match you get the error message "cannot execute command".
Also make sure that you are using a current uVision2 version. In revisions before V2.21 we had the problem that environment variables might be overwritten.
It now works. I had set the 'Database' field to the path plus database filename (srcsafe.ini) and it seems to only require the path.
Thanks for your help.
View all questions in Keil forum