
Standard Visual SourceSafe Keywords
The following table lists all Visual SourceSafe keywords. Some of the keywords are redundant, either for convenience or for backward compatibility with other version control systems, such as the UNIX utility RCS. For more information about setting up a text file for keyword expansion, see How to: Use Keyword Expansion in a Text or HTML File.
Note: |
|---|
Keywords are case-sensitive. Use the capitalization exactly as shown. |
- $Archive: $
Specifies the Visual SourceSafe archive file location.
- $Author: $
Specifies the user who last changed the file.
- $Date: $
Specifies the date and time of the last check-in.
- $Header: $
Specifies a header in the form: Logfile, Revision, Date, Author.
- $History: $
Specifies file history in Visual SourceSafe format.
- $JustDate: $
Specifies a simple date, without a time.
- $Log: $
Specifies a file history in RCS format.
- $Logfile: $
Same as Archive keyword.
- $Modtime: $
Specifies the date and time of the last modification.
- $Revision: $
Specifies a Visual SourceSafe version number.
- $Workfile: $
Specifies the file name.
- $NoKeywords: $
Specifies that there is no keyword expansion for all keywords that follow.
For example, you might place the following in a file:
When you check in the file, Visual SourceSafe replaces the revision specification with:
The next time that you check in the file, the 23 is replaced by a 24, and so on. Without running Visual SourceSafe, you can always look at the top of your file to see the version of your copy of the file.