Share via


Purge (Command Line)

Permanently removes previously deleted files and projects from a Visual SourceSafe database. For definitions of the command options, see Command Options in this Help system.

Note

You cannot recover items purged from a database.

Syntax

ss Purge <items> [-H] [-I-] [-N] [-O] [-R] [-Y] [-?]

Project Rights

You must have the Destroy project right to use this command.

Remarks

When you use the Delete command to delete a file or project in Visual SourceSafe, the deleted item is removed from Visual SourceSafe Explorer, but Visual SourceSafe is still storing it internally. You can use the Dir -D command on the command line to list the files that are deleted from the current project. Then, you can use Purge to purge them if you want to destroy them permanently, or rebuild earlier versions of the project that required them using the Recover command.

Examples

Purges the deleted file Test.c:

ss Purge TEST.C

Purges the deleted project $/PRJ:

ss Purge $/PRJ

See Also

Reference

Delete (Command Line)
Dir (Command Line)
Recover (Command Line)

Other Resources

Command Line Commands
Command Options