Properties (Command Line)

See Also

Shows basic information about a VSS file or project.

Syntax

ss Properties VSS Items [-B] [-F-] [-H] [-I-] [-L] [-N] [-O] [-R] [-Y] [-?]

Examples

Shows property information on the file TEST.C, and changes its file type to binary:

ss Properties -B TEST.C

The following table describes the command-line options available with this command.

Option Description
-B Change the type of a file. -B changes the file type to binary; -B- changes it to text.
-F- Disable the display of file properties. The -B, -B-, -L, and -L- options only operate on displayed files.
-O Paginate or redirect the command output.
-R Show information on an entire project list recursively. Ignored if a file name or file mask is specified on the command line.
-L Store only the most recent version (not past versions). -L stores only the most recent version during checkin. -L- stores delta information on each checkin.
-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.

Access Rights

You must have the Read access right to view an item's properties.

You must have the Add access right to change the type, text or binary, of a file.

You must have the Destroy access right to use the -L option.

Remarks

The Properties command displays information about whether a file is text or binary, and additionally enables you to store only the latest version or all versions of a file.

If the Properties command is executed without the -B or -L option, it displays information about the file or project without changing the attributes of the file. With either the -B or -L option, it changes the attributes of the file first, then displays the results of the change.