Using Advanced Command-line Interface - Introduction
Top  Previous  Next


The advanced command-line interface has been designed to invoke the full command-set of CS-RCS from the Explorer Run window, DOS command windows and batch files.

Note: The advanced command-line interface is a superset of the basic command-line interface.

The command-line interface syntax is:
CSRCS command [command-switches] "file1" ["file2" …]  

The file argument can be one of the following:
·A full path.  
·A relative path to the current working directory.  
·A wildcard argument.  

Example 1:
To get the RCS status of all files in the current directory tree:
1.From the Start menu, click Run.  
2.Enter: CSRCS Status /s *.*  
3.Click OK.  
 
Example 2:
To check-in all .c and .h files in the current directory:
1.From the Start menu, click Run.  
2.Enter: CSRCS ci *.c *.h  
3.Click OK.  
 
Example 3:
To retrieve all files of project Test as they were on July 15:
1.From the Start menu, click Run.  
2.Enter: CSRCS retrieve /d"15-Jul" /p"Test"  
3.Click OK.  

The following sections elaborate the various commands and command options.

Notes:
·The CSRCS command runs using the Windows multi-tasking environment. If you wish to synchronize commands (usually within a batch-file), call the CSRCSW command (rather than CSRCS). The CSRCSW command accepts all the switches and parameters applicable to the CSRCS command as documented in this chapter.  
·The CS-RCS ActiveX server API provides a more powerful means to integrate CS-RCS with any external environment. Contact ComponentSoftware to get the updated specification of this API.