Using the SVCS Menu with vss,what shall I do?

I do follow GS51.PDF(Page76 to Page78).
When I use SVCS Menu,I got the message as below:
"C:\Program Files\Microsoft Visual Studio\VSS\win32\Ss.exe" History "TRAFFIC.C" -I- -YAdmin
--- Error: can't execute '"C:\Program Files\Microsoft Visual Studio\VSS\win32\Ss.exe" History "TRAFFIC.C" -I- -YAdmin'

Parents
  • I've been fighting with a similar situation. I couldn't execute any commands from the Keil environment (a DOS window would open and hang with no error message) but I was able to separately open a DOS window and execute commands. It sounds like your experiencing a similar thing.


    What corrected the problem for me was setting the enviroment variable "ssdir" in the [Environment] box when configuring the software interface. For your setup I believe you would use:

    [Environment] ssdir=C:\Program Files\Microsoft Visual Studio\Common\vss\ (Do not use "set ssdir=.." like you would from a normal command line. It doesn't appear to work.)

    I also used:

    [Database]C:\Program Files\Microsoft Visual Studio\Common\vss\srcsafe.ini and not just the directory as you have.

    In addition, I believe you want the [Command] to be ss.exe which is the command line version of SourceSafe and not ssexp.exe.

    I've seen other posts with what looks like the same problem but haven't seen Keil address the issue anywhere. If this is as critical as I think it is, I would have expected it be included in the templates they provide. On the other hand, it may be something obvious to someone experienced in setting up SourceSafe, which I am not.

    Hope this helps.

Reply
  • I've been fighting with a similar situation. I couldn't execute any commands from the Keil environment (a DOS window would open and hang with no error message) but I was able to separately open a DOS window and execute commands. It sounds like your experiencing a similar thing.


    What corrected the problem for me was setting the enviroment variable "ssdir" in the [Environment] box when configuring the software interface. For your setup I believe you would use:

    [Environment] ssdir=C:\Program Files\Microsoft Visual Studio\Common\vss\ (Do not use "set ssdir=.." like you would from a normal command line. It doesn't appear to work.)

    I also used:

    [Database]C:\Program Files\Microsoft Visual Studio\Common\vss\srcsafe.ini and not just the directory as you have.

    In addition, I believe you want the [Command] to be ss.exe which is the command line version of SourceSafe and not ssexp.exe.

    I've seen other posts with what looks like the same problem but haven't seen Keil address the issue anywhere. If this is as critical as I think it is, I would have expected it be included in the templates they provide. On the other hand, it may be something obvious to someone experienced in setting up SourceSafe, which I am not.

    Hope this helps.

Children
More questions in this forum