Faheem Khan
10-12-2006, 03:08 PM
Hello
How can I print the directory list of networked shared drives?
Any codes available for this?
Thanks
David Lowndes
10-12-2006, 09:32 PM
>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
Faheem Khan
10-13-2006, 12:16 AM
But that doesnt support the server hard drives UNC path.
I mean you cannot write
DIR \\server-01\shared drive > C:\output.txt
"David Lowndes" <DavidL@example.invalid> wrote in message
news:8g9ti25dln4hi95ljov5poio6fv7atu6n5@4ax.com...
> >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
David Lowndes
10-14-2006, 09:44 AM
>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
David Lowndes
10-14-2006, 07:52 PM
>>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?
I should have added, have you tried it like this:
DIR "\\server-01\shared drive" > C:\output.txt
Dave