Simple question but I can’t seem to find or figure out the answer.
I have a variable which indicates a windows network share, e.g.
\\myBoxName\networkshare\shared
Within either DOS or powershell (preferably the former, although it’s not a big deal) I need to get another variable value that indicates the physical path of that network share. So the answer I’m looking for is something like …
D:\Networkshare\shared
The script is running on the box on which the share is located, if that helps.
Cheers,
Matt
try this: