print directory list of shared network drives

  • Thread starter Thread starter Faheem Khan
  • Start date Start date
F

Faheem Khan

Hello
How can I print the directory list of networked shared drives?
Any codes available for this?
Thanks
 
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
 
But that doesnt support the server hard drives UNC path.
I mean you cannot write

DIR \\server-01\shared drive > C:\output.txt
 
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
 
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
 
Back
Top