CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2001
    Posts
    43

    Could not execute: invalid directory (Win32 error 267)

    After I almost complete with my program,

    I got this error 267 during execute/running the program which means invalid directory.. I thought just invalid database path, so I change it.. but then, still get this error again and again.. any clue???

    Could not execute: invalid directory (Win32 error 267)


  2. #2
    Join Date
    Oct 2000
    Location
    TX, USA
    Posts
    12

    Re: Could not execute: invalid directory (Win32 error 267)

    Hi,
    This error comes due to the project settings. In VC++ 6 go to the project and then setting tab. Then go to the debug tab. Cleck the path for the exe amd imp. is check the working directory path.
    If this help you in any way pls rate this post.

    Manish Chaudhari


  3. #3
    Join Date
    Sep 2010
    Posts
    1

    Talking Re: Could not execute: invalid directory (Win32 error 267)

    I just got the same error, and I solved the problem in your way. Thanks a lot.

  4. #4
    Join Date
    Nov 2010
    Posts
    1

    Re: Could not execute: invalid directory (Win32 error 267)

    I just got the same error, and I solved the problem in your way. Thanks a lot.

  5. #5
    Join Date
    May 2012
    Posts
    2

    Re: Could not execute: invalid directory (Win32 error 267)

    Had the same error, made the fix you mentioned. Worked Awesome! Thanks.

    (Changed Working directory to match the root of the "Executable for Debug Session")

    You made my day! Thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured