Thanks Geates, but that doesnt work as expected.
To try and isolate things I've now split the process into two scripts so the first creating the mappings and the second one closing the explorer windows as follows:
The problem with objShell.AppActivate "P:\" is you cant set it to a variable so...
I run a small network with Win XP and Win7 workstations and mappings area a pain as they dont always get invoked and you have to open an explorer window and click on the mapped drive with the red X before ite will "refresh".
Yes I know where must be a "network" fix for this, but I gave up on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.