How to print directory structure

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

does anyone know how to print the file directory structure
for a specific drive within windows 2000? preferably i
would like to print the structure to a file, where i could
then add names of owners.
Thanks
 
The tree command might be what you're looking for. Type
tree and you'll see the directory structure which can be
output to a file.
 
What doesn't the cmdline "dir" do that you'd like it to? "dir /s" to
recurse through subdirectories. "/q" to show owners. Or for only the paths
and no other info "/b".
 
Here is what I do, I open a cmdline and change my
directory to the root of where I want to print the list
from, and use the dir command, you can see a list of
switches and what they do by typing dir /?

I use something like this dir /s /b and redirect the
output either to the printer directly or to a file like
this

dir /s /b > c:\temp\filelist.txt

or

dir /s /b > lpt1

-----Original Message-----
What doesn't the cmdline "dir" do that you'd like it to? "dir /s" to
recurse through subdirectories. "/q" to show owners. Or for only the paths
and no other info "/b".
--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


does anyone know how to print the file directory structure
for a specific drive within windows 2000? preferably i
would like to print the structure to a file, where i could
then add names of owners.
Thanks


.
 
Back
Top