Changes the previously entered comment for a specific version of a file or project. Available only from the command line. (To change the comment from the Explorer, use the File Properties dialog box after selecting the appropriate file or project.)
ss Comment VSS items [-C] [-H] [-I-] [-N] [-O] [-V] [-Y] [-?]
Changes the comment for version 5 of TEST.C:
ss Comment TEST.C -V5
Changes the comment for the most recent version of TEST.C:
ss Comment TEST.C
Changes the comment for the project TESTDATA:
ss Comment $/TESTDATA
The following table describes the command-line options available with this command.
Option | Description |
-C | Use the same comment for all files being changed. |
-O | Paginate or redirect the command output. |
-V | Specify the file version to change the comment of. |
-I- | Ignore: Do not ask for input under any circumstances. |
-N | Change between long and short file name mode. |
-Y | Specify a username and/or password. |
-?, -H | Request online Help on a command. |
You must have the Add access right to use this command.
Every version of every file or project in VSS is associated with a user-defined comment, which you can change with the Comment command. After you type the command, you are prompted for the new comment (or you can specify it on the command line using the -C option).
The new comment replaces the old comment, which cannot be recovered.