I’d suggest creating a new share with restricted access. Shares with a $ on the end are administrative shares and can typically only be accessed by administrative users. You’d have to authenticate with administrative login via your code to access them which is never a good idea.
On Wed, Dec 11, 2019 at 4:52 PM <[email protected]> wrote: > I know this isn’t a Linux question, but I am hoping someone in the group > may know the answer. On a client’s system, I need to be able to retrieve > files from a hidden network share. This share has a name ending in a dollar > sign, which keeps it from showing up in Windows Explorer. I can browse to > this share in Windows Explorer by typing in the UNC path, including the > dollar sign. However, trying to connect to this share via code fails, with > an error message indicating that the share isn’t available. How do I > connect to it via code? > > -- > -- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nlug-talk?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nlug-talk/234301d5b075%24a09291c0%24e1b7b540%24%40jfeldredge.com > <https://groups.google.com/d/msgid/nlug-talk/234301d5b075%24a09291c0%24e1b7b540%24%40jfeldredge.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/CACsxF0K-K-drN_TGBYenPCfkzZYM-RpiCn9_CjSDt6y5zXN_tA%40mail.gmail.com.
