If you're going to access your local computer (or any computer) using UNC, you'll need to setup a share. If you haven't already setup a share, you could use the default administrative shares. Example:
\\localhost\c$\my_dir
... accesses a folder called "my_dir" via UNC on your C: drive. By default all the hard drives on your machine are shared with hidden shares like c$, d$, etc.
n addition to using
Read full article from windows - UNC path to a folder on my local computer - Stack Overflow
\\localhost\c$\my_dir
... accesses a folder called "my_dir" via UNC on your C: drive. By default all the hard drives on your machine are shared with hidden shares like c$, d$, etc.
n addition to using
net share
, you can also use wmic - this allows you to query remote systems (with /node:
) and also get only those you're interested in, eg.wmic /node:Server1 share where name="Share1" get name,path
will list only shares namedShare1.Read full article from windows - UNC path to a folder on my local computer - Stack Overflow
No comments:
Post a Comment