generate a list of folders/files

G

Guest

I am wanting to create a list of folders/files that are on my S drive. Is
there a tool in word, excel or access that will generate this list for me? I
would also like a few file properties in this list.
--
 
M

Mark Dormer

You can use the dir command
Open a command Prompt and type
s: <enter>
cd\ <enter>
Dir /s >> c:\dir.txt <enter>

Open c:\dir.txt with word or notepad

You can modify the dir command to change the way it lists. type dir /? to
see how

or use a program like DirLister
http://www.hot.ee/dukelupus/DirLister.html

Regards
Mark Dormer
 
P

Paul Knudsen

I am wanting to create a list of folders/files that are on my S drive. Is
there a tool in word, excel or access that will generate this list for me? I
would also like a few file properties in this list.

Go into command mode by clicking Start...Run...and typing "CMD"
without the quotes.

In the command screen, type:
DIR S:*.* /S > DRIVES.TXT <enter>

When it finishes quit command mode. Your list will be found in the
file C:DRIVES.TXT. (You don't need to use caps; I did so to make the
commands stand out.)

Switches in the DIR command will give you file properties, and show
hidden and system files (DIR won't normally show those.). Type
DIR /? <enter>
and play around with some of the options to find what you want.
 

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