Sign in to follow this  
Followers 0
MariusN

explorer.exe opens My Documents"

4 posts in this topic

#1 ·  Posted (edited)

I have a small script that first kills explorer.exe, then activate it again. Prob is, it starts explorer, but My Documents immediately opens up as well after running the script. Maybe a small help here please folks?

Here is the script --->

If ProcessExists("explorer.exe") Then
  Do
   ProcessClose("explorer.exe")
  Until ProcessExists("explorer.exe") = 0
  Sleep(1000)
  Run("explorer.exe")
EndIf

I have also tried this with "Shellexecute"...tia

Edited by MariusN

Share this post


Link to post
Share on other sites



No problem...i managed to use taskkill and it works ;)

Share this post


Link to post
Share on other sites

...matter of interest...Why is it that when i use ---> ProcessClose("explorer.exe") followed by Run("explorer.exe") that "My Documents" pops-up, but when i use taskkill instead of ProcessClose, everything works fine...a bug maybe?

...tia

Share this post


Link to post
Share on other sites

Try this

Run("Explorer.exe ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}")

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