Microsoft KB Archive/120966

= FIX: Debugger Can't Debug Project That Has Spaces in Path Name =

Q120966

-

The information in this article applies to:


 * Visual Workbench Integrated Debugger
 * *EDITOR Please do not choose this product*Microsoft Visual C++ 32-bit Edition* use 241, 265, 225, version 2.0

-

SYMPTOMS
Visual Workbench generates the following message box when you debug an application on a drive that uses a file format that supports long filenames (such as NTFS and VFAT) when a directory name in the executable's full path contains a space:

 |           Microsoft Visual C++                | ||       |  The executable 'xxxxxxx' could not be opened  | |                                               |        |                     OK                         | Here 'xxxxxxx' is the full path up to the space in the directory name.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was fixed in Microsoft Visual C++, 32-bit Edition, version 4.0.

Steps to Reproduce Problem

 * 1) Create a directory called 'my dir' (without the quotation marks)
 * 2) Open Visual C++.
 * 3) Create a simple console application and save the source file in the 'my dir' directory.
 * 4) Build the application.
 * 5) Press the F8 kay to begin debugging the application. Visual Workbench generates a message box containing the error "The executable 'C:\my' could not be opened."

NOTE: If you try to create a new project in 'my dir' as the second step, the Visual Workbench generates a message box containing the error "Please choose a project path containing no spaces." Additional query words: 2.00

Keywords :

Issue type : kbbug

Technology :

Last Reviewed: July 30, 2001

-

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

© 2002 Microsoft Corporation. All rights reserved.