Jump to content

explorer.exe opens My Documents"


Recommended Posts

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
Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...