MariusN Posted April 13, 2012 Share Posted April 13, 2012 (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 April 13, 2012 by MariusN Link to comment Share on other sites More sharing options...
MariusN Posted April 13, 2012 Author Share Posted April 13, 2012 No problem...i managed to use taskkill and it works Link to comment Share on other sites More sharing options...
MariusN Posted April 14, 2012 Author Share Posted April 14, 2012 ...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 Link to comment Share on other sites More sharing options...
SandelPerieanu Posted April 14, 2012 Share Posted April 14, 2012 Try this Run("Explorer.exe ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}") Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now