in reply to Re^2: How to access Storage hidden share
in thread How to access Storage hidden share

I was unable to detect a question or request in your post, so it is difficult to guess what you expect in response.

You seem to have ignored the advice on avoiding the error-prone drive mapping, (writing directly to a UNC path is the recommended alternative).

Your code appears to be somewhat fragile, but I suppose it could work.

        If your eyes hurt after you drink coffee, you have to take the spoon out of the cup.
              -Norm Crosby

  • Comment on Re^3: How to access Storage hidden share

Replies are listed 'Best First'.
Re^4: How to access Storage hidden share
by smw11 (Initiate) on Jan 31, 2014 at 14:39 UTC

    Thank you for reply. I have tried to use the UNC path "\\store\projectnew$" in my script ,but script has error for "$" that is used in the UNC path. My question is that,
    1>how can use the UNC path that has $ sign at the end.
    2>I want to verify UNC path for write access to the user.
    thank you. SMW11

      I think you may be running into trouble due to interpolation of both the backslash (which needs to be escaped, and the $, which also needs to be escaped.

      Try entering the UNC path as:

      my $path = "\\\\store\\projectnew\$";

              What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
                    -Larry Wall, 1992