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


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

Hi Guys

I tested the or die "GetDrive failed $! options and it looped with not results.

As for the Y drive is mapped network drive coming from another computer. What can I do to get this working ?

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

Replies are listed 'Best First'.
Re^2: Error with GetDRIVE() when using a mapped drive
by Loops (Curate) on Nov 03, 2014 at 16:36 UTC

    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.