HOWTO: Use PHYSICAL Command to Find SourceSafe Database File (131447)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 4.0
  • Microsoft Visual SourceSafe for Windows 5.0
  • Microsoft Visual SourceSafe for Windows 6.0
  • Microsoft SourceSafe for Windows 3.04
  • Microsoft SourceSafe for Windows 3.1
  • Microsoft SourceSafe for Windows NT 3.04
  • Microsoft SourceSafe for Windows NT 3.1
  • Microsoft SourceSafe for MS-DOS 3.04
  • Microsoft SourceSafe for MS-DOS 3.1

This article was previously published under Q131447

SUMMARY

When debugging and troubleshooting, you may need to determine what file inside a project corresponds to a file in the SourceSafe database.

MORE INFORMATION

Use the following undocumented command lines:
      To Find                       Use This Command Line
      ------------------------------------------------------------------

      Project file                  SS PHYSICAL <Project Path>
      Certain file in a project     SS PHYSICAL <Project Path>/<FileName>
      All files in a project        SS PHYSICAL <Project Path> -R
				
Use the -o switch to redirect the output of the SS PHYSICAL command to a text file. For example:
      SS PHYSICAL -r $/ "-o@Filename.txt"
				
This command reports the physical names of all projects and files starting with the root project and directs this output to a file named Filename.txt.

Modification Type:MinorLast Reviewed:2/24/2005
Keywords:kbFAQ kbhowto KB131447