View Full Version : How to print directory structure


Dan
01-23-2004, 06:43 PM
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

Nestor
01-23-2004, 07:41 PM
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.

>-----Original Message-----
>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
>.
>

Nestor
01-23-2004, 07:41 PM
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.

>-----Original Message-----
>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
>.
>

R. C. White
01-23-2004, 08:41 PM
Hi, Dan.

See this tip for how to print a directory from WinXP. I don't know if it
works for Win2K, but it might give you some ideas.

HOW TO: Add a "Print Directory" Feature for Folders in Windows XP
http://support.microsoft.com/?kbid=321379

RC
--
R. C. White, CPA
San Marcos, TX
rc@corridor.net
Microsoft Windows MVP

"Dan" <anonymous@discussions.microsoft.com> wrote in message
news:356f01c3e1e0$ce976ca0$a601280a@phx.gbl...
> 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

R. C. White
01-23-2004, 08:41 PM
Hi, Dan.

See this tip for how to print a directory from WinXP. I don't know if it
works for Win2K, but it might give you some ideas.

HOW TO: Add a "Print Directory" Feature for Folders in Windows XP
http://support.microsoft.com/?kbid=321379

RC
--
R. C. White, CPA
San Marcos, TX
rc@corridor.net
Microsoft Windows MVP

"Dan" <anonymous@discussions.microsoft.com> wrote in message
news:356f01c3e1e0$ce976ca0$a601280a@phx.gbl...
> 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

Drew Cooper [MSFT]
01-23-2004, 10:42 PM
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.


"Dan" <anonymous@discussions.microsoft.com> wrote in message
news:356f01c3e1e0$ce976ca0$a601280a@phx.gbl...
> 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

Drew Cooper [MSFT]
01-23-2004, 10:42 PM
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.


"Dan" <anonymous@discussions.microsoft.com> wrote in message
news:356f01c3e1e0$ce976ca0$a601280a@phx.gbl...
> 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

ST
01-26-2004, 10:32 PM
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.
>
>
>"Dan" <anonymous@discussions.microsoft.com> wrote in
message
>news:356f01c3e1e0$ce976ca0$a601280a@phx.gbl...
>> 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
>
>
>.
>

ST
01-26-2004, 10:32 PM
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.
>
>
>"Dan" <anonymous@discussions.microsoft.com> wrote in
message
>news:356f01c3e1e0$ce976ca0$a601280a@phx.gbl...
>> 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
>
>
>.
>