Click to See Complete Forum and Search --> : Running explorer in new desktop


ok21
May 3rd, 2010, 10:02 AM
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?

Ajay Vijay
May 9th, 2010, 11:20 AM
How are you creating the Explorer.exe process? I mean which API, what arguments?

Looks like "explorer.exe" argument is treated as null.

ok21
May 14th, 2010, 04:55 AM
I use
CreateProcess(.....)
and run "explorer.exe /e,/root,c:\"