http://qs321.pair.com?node_id=1105921


in reply to Re: Error with GetDRIVE() when using a mapped drive
in thread Error with GetDRIVE() when using a mapped drive

What do you mean that it loops with no results? It should have died and given you an error message instead of the errors that you reported in your initial post. What was the error message that it gave you once you added the or die ... statement?

For whatever it's worth, it works here on a network mapped drive. It may well be a permission problem you're having. The script context may not have enough privilege to access the network drive... just a guess.

  • Comment on Re^2: Error with GetDRIVE() when using a mapped drive