Jump to content
Sign in to follow this  

Script hanging on Opening an explorer window

Recommended Posts

I'm trying to help some users find both their local and their roaming profile directories by using a script. The problem is I want the script to basically open their file browser for them to the specified directories so they can then effectively clean up their profile. The problem I have is after the script seems to have finished, in my testing at least, it doesn't actually seem to exit.

MsgBox(0,"Step 1","First delete the files indicated in the Quota Dialog from this directory."&@CR &"Note these files, you will have to delete them a second time on the server.")
MsgBox(0,"Step 2","Remember to delete the same files from this directory.")
ShellExecute("\\pc50\Users\scripts\" & @UserName & ".usr")

Any ideas why? A better way to do this?

Edited by jp10558

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...