CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    54

    Arrow Running explorer in new desktop

    I create in my Application a new desktop and run in it explorer with the parameters:
    explorer /e,/root,c:\.
    At first time after loading OS explorer is fault and the following dialog is opened:

    title - /e,/root,c:\
    Messsage: - Window can not find "/e,/root,c:\". Make sure you typed the name correctly and then try again. To search for a file click the Start button and then click Search.

    I close this dialog and continue and after that all running explorer is right.

    Very weird why explorer is fault at first time after loading OS.
    May be anybody guesses whats reason?

  2. #2
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: Running explorer in new desktop

    How are you creating the Explorer.exe process? I mean which API, what arguments?

    Looks like "explorer.exe" argument is treated as null.
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  3. #3
    Join Date
    Apr 2005
    Posts
    54

    Re: Running explorer in new desktop

    I use
    CreateProcess(.....)
    and run "explorer.exe /e,/root,c:\"

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