Util to list the network drives on a remote PC?

A

Alan

Hello,

On our coroporate network, we often need to copy files from one user's
mapped network drive to another. For example, to copy F:\DOCS on PC A
to C:\TEMP on PC B.

We have domain admin rights so we can access whatever network share
that F: corresponds to, the problem knowing which share F: corresponds
to. Is there a command-line util that lists the network drives on a
remote PC?

It's a W2k AD btw.

Thanks,

- Alan.
 
C

Chuck

Hello,

On our coroporate network, we often need to copy files from one user's
mapped network drive to another. For example, to copy F:\DOCS on PC A
to C:\TEMP on PC B.

We have domain admin rights so we can access whatever network share
that F: corresponds to, the problem knowing which share F: corresponds
to. Is there a command-line util that lists the network drives on a
remote PC?

It's a W2k AD btw.

Thanks,

- Alan.

Alan,

The command "net use" lists what drives you have mapped on your computer, and
lists the server and share for each mapped drive. The command "net share", run
locally on any server, lists the shares, and the corresponding path of each.

If you want to see what shares are available on a remote server, try "net share"
run using PSExec, which is part of PSTools (free) from SysInternals.
<http://nitecruzr.blogspot.com/2005/05/essential-tools-for-desktop-and.html#PSTools>
http://nitecruzr.blogspot.com/2005/05/essential-tools-for-desktop-and.html#PSTools

If I want a list of shares on PChuck2, from PChuck1, I run
psexec \\pchuck2 net share
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top