Delete (Command Line)

See Also

Removes files and projects from VSS Explorer, and marks them as deleted; the items still exist, however, and can be recovered using the Recover command.

Syntax

ss Delete VSS items [-H] [-I-] [-N] [-O] [-S] [-Y] [-?]

Examples

Deletes the file TEST.C from the project $/PRJ:

ss Delete $/PRJ/TEST.C

Deletes the project $/PRJ:

ss Delete $/PRJ

Deletes all the files in the current project:

ss Delete *.*

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

Option Description
-S Turn SmartMode on, deleting the local copy of the file after deleting the VSS master copy.
-O Paginate or redirect the command output.
-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 Add access right to use this command.

Remarks

After you have deleted a file from a project, you cannot delete another file with the same name from the same project: If you delete file TRASH.C from a project, then add a new file called TRASH.C to the project, that is OK. Trying to delete TRASH.C again is not allowed, however.