Sign in to follow this  
Followers 0
shx

programmatically starting the Windows Explorer shell

6 posts in this topic

#1 ·  Posted (edited)

Let me see if I can explain what I'm trying to do.

I would like to start explorer.exe as the windows shell programmatically.

When Windows starts up instead of running Explorer which is the standard shell of Windows, I have developed a replacement. The registry is updated to point to this replacement so it starts up automatically when Windows starts.

what I would like to do is when I exit exit this replacement have explorer run as the window shell.

If I enter control alt delete to start the task manager and I do file > new task and run explorer.exe it will start the explorer windows shell, but if I run explorer.exe with a shellexecute or a run it just opens up a regular file explorer window.

So to sum up, what I am trying to do is to be able to programmatically from an autoit script start the Windows Explorer shell and I can't seem to do it.

I hope I was understandable. Any help would really be greatly appreciated.

This is a Windows7 64bit computer environment.

Steven

Edited by shx

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

This is an A-Z list of cmd line, What your looking for might be in here, I don't have time to look through it, sorry, I'm on a call at work

http://ss64.com/nt/

Edited by JayHawkfl

Thanks for your time

 

Share this post


Link to post
Share on other sites

I thank you for your help but I don't know if you understood what I am trying to do. I don't see where the information in your link would help me.

Here is a link to someone who wants to do something similar http://stackoverflow.com/a/5852995 I think that there is solution there in C#.

Thanks again.

Share this post


Link to post
Share on other sites

You could do something like this:

$WMI = ObjGet("winmgmts:" & @ComputerName & "rootcimv2")
$process = $WMI.Get("win32_process")
$process.create("explorer.exe")

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

JLogan3o13,

Much thanks and gratitude to you.

Your information helped me out and I was at my wits end.

Steven

Share this post


Link to post
Share on other sites

Glad to be of service :)


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0