jp10558 Posted September 13, 2007 Share Posted September 13, 2007 (edited) 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.") ShellExecute(@UserProfileDir) MsgBox(0,"Step 2","Remember to delete the same files from this directory.") ShellExecute("\\pc50\Users\scripts\" & @UserName & ".usr") Exit Any ideas why? A better way to do this? Edited September 13, 2007 by jp10558 Link to comment Share on other sites More sharing options...
jp10558 Posted September 13, 2007 Author Share Posted September 13, 2007 Oh, nevermind - stupid me there was a shellexecuteWait... 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