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

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

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

Replies are listed 'Best First'.
Re^5: How to access Storage hidden share
by NetWallah (Canon) on Jan 31, 2014 at 21:09 UTC
    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