print directory list of shared network drives


F

Faheem Khan

Hello
How can I print the directory list of networked shared drives?
Any codes available for this?
Thanks
 
Ad

Advertisements

D

David Lowndes

How can I print the directory list of networked shared drives?

You can use the command line DIR command and redirect its output to a
text file that you can print from Notepad. If you'd like something
that's integrated with Explorer, have a look at a 3'rd party
add-on such as ExpPrint http://www.jddesign.co.uk/.

Dave
 
F

Faheem Khan

But that doesnt support the server hard drives UNC path.
I mean you cannot write

DIR \\server-01\shared drive > C:\output.txt
 
D

David Lowndes

But that doesnt support the server hard drives UNC path.
I mean you cannot write

DIR \\server-01\shared drive > C:\output.txt
Yes you can. Have you tried it?

Dave
 
D

David Lowndes

But that doesnt support the server hard drives UNC path.
Yes you can. Have you tried it?
I should have added, have you tried it like this:

DIR "\\server-01\shared drive" > C:\output.txt

Dave
 
Ad

Advertisements

Ad

Advertisements


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