你可以到apache的主站上看看,里面有资料
我现在用eclipse,有vss的插件,是apache里面的一个开源项目

解决方案 »

  1.   

    来自MSDN。这样的东东在msdn上查查也可以找到很多内容
     Visual SourceSafe   Using the VSS Command LineSee Also
    Command-Line Options | Use Command Line Exit Codes | Directory (Command Line) | Starting VSS from the Command Line | Enter Comments at the Command Line | Use Alternate Command Line Commands | Use Command Line Commands and Options | Reference Guide 
    You can use the VSS command line to run batch files and macros. In addition, you can use the command line to perform all VSS Explorer commands. For detailed information about a specific command see, Use Command Line Commands and Options.Carrying Out Commands on the Command Line
    You can start a command shell from Windows and type VSS commands from there. To do this, you must set the following user environment variables: PATH specifies the path for executable files. Add the path to your \Win32 folder, which by default contains your VSS program files. For example PATH=%PATH%;c:\Program Files\vss\win32. 
    SSDIR specifies the location of the SRCSAFE.INI file for the VSS database that you want to connect to. 
    You can also use the Run command on the Windows Start menu to run a specific command. For example, you can type ss Get *.* to get all files in the current project.Command-Line Syntax
    Command-line commands have the following general syntax:ss command [one or more items] [one or more options]
    What an item is depends on the command. For instance, for the Get command, an item is a VSS file or project; for the Add command, an item is an operating system file.In almost all cases where you can specify an item to act on, you can specify more than one item. For instance, any of the following are valid ways of executing the Get command:ss Get HELLO.C
    ss Get HELLO.C HELLO.H TEST.H makefile
    ss Get *.C *.H makefile linkfile
    ss Get *.*
    The command line is case-insensitive with regard to the commands themselves; that is, the command ss Get HELLO.C can also be typed as ss get Hello.c. However, some commands, such as the SS Find command, are case-sensitive with regard to the string you are looking for. For example, if you look for "Post" by issuing the commandSS find post alias.txt
    you will not find any occurrences of "Post" but only occurrences of "post." You can use the -ic option on the command line to ignore case in search strings.Note   You do not have to type an entire command name for the VSS command line to recognize it; you need only type enough of the name for VSS to be able to distinguish it from every other command. In most cases, typing the first two or three characters is sufficient.
    Command-Line Options
    In addition to the command and the items, you can specify options or parameters. Options are preceded by a hyphen and modify the command. A few options are specific to a command, and are described in that command's command-line Help topic. There is also a set of general options applicable to many commands. They are described in the following table.Option Description 
    -C Use one (or no) comment for all specified items. (The Dir command uses this option in a different way.) 
    -O Redirect or paginate the output of the command. 
    -V Operate on a specific version of an item. 
    -R Perform a command recursively. 
    -S Turn SmartMode on or off for the command. 
    -G Change the way the Get command works on any file retrieved to the local drive. 
    -W Indicate whether local copies are read-only. 
    -N Change between long and short file name mode. 
    -I- Ignore: Do not ask for input under any circumstances. 
    -Y Specify user name and password. 
    -?, -H Request online Help with a command: The -H command-line option obtains the same result. Use quotation s around the entire parameter whenever an item or option contains the space character as part of a string of text. For example, use "-CThis is the comment" rather than -C"This is the comment". Otherwise, VSS treats the space as a separator between different parameters, and the command either fails or yields unexpected results. See Also
    Command-Line Options | Use Command Line Exit Codes | Directory (Command Line) | Starting VSS from the Command Line | Enter Comments at the Command Line | Use Alternate Command Line Commands | Use Command Line Commands and Options | Reference Guide --------------------------------------------------------------------------------Send feedback on this topic to Microsoft© Microsoft Corporation. All rights reserved.