Running clearexport_ssafe

About this task

The clearexport_ssafe utility reads the files and subprojects in your Microsoft® Visual SourceSafe current project and generates a data file, which clearimport uses to create equivalent VOB elements. By default, clearexport_ssafe names the data file cvt_data and stores it in your current working directory. To specify a different name and storage location for the data file, use the –o option.

By default clearexport_ssafe exports the files and subprojects in the Visual SourceSafe current project, but it does not export any files contained in subprojects. For example, with the Visual SourceSafe current project set to $/payroll, clearexport_ssafe exports subprojects /progs, /bugfix, and /queries but does not export any of the files in those subprojects. To export all files in all subprojects, specify the –r option.

Example

In the following example, the Visual SourceSafe current project is $/payroll. Because the command-line specifies the –r option, clearexport_ssafe exports all files in the /progs, /bugfix, and /queries subprojects. The –o option directs clearexport_ssafe to store the output in a data file named paycvt in the c:\datafiles directory.

ss cd
Current project is $/payroll

clearexport_ssafe –r –o c:\datafiles\paycvt
VOB directory element ".".
VOB directory element "bugfix".
Converting element "bugfix\add.sql" ...
Extracting element history ...
....
Completed.
Converting element ...
Creating element ...
Element "progs/new_empl.c" completed.
VOB directory element "queries".
Converting element "queries\add.sql" ...
Extracting element history ...
...
Completed.
Converting element ...
Element "queries/add.sql" completed.
Converting element "queries\update.sql" ...
Extracting element history ...
.
.
.