Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   VSS Add Operation (https://www.kinook.com/Forum/showthread.php?t=2512)

DrGonzo 04-11-2007 06:33 AM

VSS Add Operation
 
Hello together,

I tried to use the VSS Add funtionality of VBP, but it does not work. All other VSS operations like Get Checkout CheckIn... work properly, but I have serious problems adding new files to VSS via CommandLine, too.

c:\Program Files\Microsoft Visual SourceSafe\ss.exe" Add $/1500/PC_KUNDE/KKH/DBINCL C:\pcdps1500\KKH\DBINCL1\a1000tst.h -Yvb,vb1991 -W -C"Added by VB User"

I already consulted another forum, but no responses the last week. The MSDN help could not help, too.

Path to VSS executable:
c:\Program Files\Microsoft Visual SourceSafe\ss.exe

The Add statement with path where to add in VSS:
Add $/1500/PC_KUNDE/KKH/DBINCL

The path for the local file:
C:\pcdps1500\KKH\DBINCL1\a1000tst.h

The rest is not important I think. Is the usage correct?
Thats the result of the VBP output window:

Failed to create process: The directory name is invalid.

What directory name is meant by it? The local one or the VSS path?

Kindly,
DrGonzo

kinook 04-11-2007 07:33 AM

The 'Path for local files' field must be a path, not a filename. Filename(s), folder(s), or mask(s) are specified in the 'Projects and/or files to process' field. The SourceSafe.bld sample demonstrates adding files.
http://www.visualbuild.com/Manual/sourcesafesample.htm

DrGonzo 04-13-2007 03:40 AM

Hi all,

the problem is, that You have to Set CP Path and CP Source before You can use the Add command of VSS ;)

Kindly,
DrGonzo


All times are GMT -5. The time now is 04:46 AM.


Copyright © 1999-2023 Kinook Software, Inc.