Microsoft KB Archive/193584

= FIX: Files Always Opened with Default Visual SourceSafe Viewer =

Article ID: 193584

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual SourceSafe 5.0 Standard Edition

-



This article was previously published under Q193584



SYMPTOMS
When you view a text file from Visual SourceSafe Explorer, the default Visual SourceSafe viewer opens the file, even though you set the correct path for your desired editor in "Editor for viewing files".



CAUSE
The path for the executable file in the "Editor for viewing files" contains a space. For example:

C:\Program Files\Accessories\wordpad.exe

NOTE: To see the path, click Options under the Tools menu and then looking for the "Editor for viewing files" text box on the General Tab.



RESOLUTION
Type quotes around the path name if it contains a space in it. For example:

"C:\Program Files\Accessories\wordpad.exe" "%1"



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual SourceSafe version 6.0.



MORE INFORMATION
Visual SourceSafe Explorer allows you to customize your settings to view files. You can type the exact path to the executable file of your editor in the "Editor for viewing files" text box. When you try to view a file by selecting View File from the Edit menu, Visual SourceSafe uses the "Editor for viewing files" path to locate the .exe. However, if that path contains a space, the file is opened in the default Visual SourceSafe viewer.

Steps to Reproduce Behavior
 Start Visual SourceSafe Explorer. Go to the Tools menu and click Options. The General Tab appears in the Options dialog box. If you are using a Windows 95 computer, type the following in the "Editor for viewing files" text box:

c:\Program Files\Accessories\WordPad.exe

If you are using a Windows NT computer, type the following in the "Editor for viewing files" text box:

c:\Program files\Windows NT\Accessories\WordPad.exe

 Click OK. Add a file to $/.</li> Right-click on the file, and click View File.</li></ol>

RESULT: Instead of WordPad, the file is opened in the default Visual SourceSafe viewer.

Keywords: kbbug kbfix kbssexplorer kbssafe600fix KB193584

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.