Jump to content
Sign in to follow this  
Guest Christian_Blackburn

Restarting Explorer.exe Forces "my Documents" Win

Recommended Posts

Guest Christian_Blackburn

Hi Gang,

I'm having trouble getting AutoIt to restart Explorer. B) After explorer is closed (this works fine), Explorer is restarted, and a window I didn't ask for is also created. :whistle: The window in question is "My Documents" and doesn't respond to @SW_HIDE either: :angry:

Run(@WindowsDir & "\Explorer.exe", "", @SW_HIDE). Does anyone know how to just get Explorer to come back up and without displaying any windows?

AutoIt 3.00.101 and Windows 2000 SP4

Thanks you very much for any and all help,

Christian Blackburn

Share this post


Link to post
Share on other sites
Valik

Try launching it from ComSpec maybe? Something like:

Run(@ComSpec " /c start explorer.exe", "", @SW_HIDE)

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  

×