VSS tips: recursively clear deleted files (purge)

Source: Internet
Author: User

Recursively clear deleted files (purge)

Recursive purge must use the command line interface.

Open the command prompt ("START"-"All Programs"-"attachment", or "start"-"run"-Enter cmd ).

Change the path to the installation path of the VSS program and enter the command "cd c:/program files/Microsoft Visual sourcesafe". If the installation directory is different, change the directory after CD.

Set the VSS environment variable and enter the command "set ssdir = // 192.168.23.253/vss_libs Development Library/Background Development Library" to set the directory of the VSS library to be operated.

Run purge and enter the command "SS purge-R". The program prompts you to enter the user name and password, and then prompts you to enter the directory to be operated. To clean all, enter "$ /*". The execution result is as follows:

D:/program files/Microsoft Visual sourcesafe> SS purge-R

Username: Admin

Password :******

Enter file or project: $ /*

$/Src /?? ·? /Billing/listapp/cursedownbill. cpp. Bak

$/Src /?? ·? /Billing/listapp/demolistapp. cpp. Bak

$/Src /?? ·? /Billing/listapp. cpp. Bak

$/Src /?? ·? /Billing/listapp/makefile

$/Src /?? ·? /Billing/listapp/realbill. cpp. Bak

$/Src /?? ·? /Billing/listapp/realbill. H. Bak

$/Src /?? ·? /Billing/listapp/singalproc. H. Bak

$/Src /?? ·? /Document/bugfix/bugfix_update113_20080723.rar

 

D:/program files/Microsoft Visual sourcesafe>

Because Chinese characters are not supported, Chinese characters in the project and file names are garbled, but the function is not affected.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.