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.