folders

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just need help finding a way to place folder names in a list. I want to display the folder names in Excel or Word or some kind of word processing program without having to type them in individually.
 
In
HELP ME!!!! said:
I just need help finding a way to place folder names in a list. I
want to display the folder names in Excel or Word or some kind of
word processing program without having to type them in
individually.


The folders on your drive?

Open a command prompt window (Start | Run | CMD) and type

dir c:\ >\path\filename

where \path\filename is whatever you want.

Then open that file in Word.
 
In
bob said:
What do I put for path and filename?


Are you replying to me? Please quote the message you're replying
to so we can understand you.

As I said, you can put anything you want for path and filename.
If you put C:\Mr anonymoses file or C:\Windows\foldernames it
will work equally well.

The point is that you have to give a name to the place where
you're saving the info so that when you open it in Word, you know
what file to open.

And do I type it exactly like
that? (with <)


No, not <

You need to type >

The > is a redirection character.. It tells the system not to
send the results of the Dir command to the screen but to the file
whose name you supply.
 
I think it goes like this:

1. Go to a DOS prompt. (black screen, white letters.)
To do that, you can hit START RUN then type CMD (enter)

2. Go to the directory you are interested in. You can do this with the CD
(change directory) command.
E.g At C:\, cd myfiles
at c:\myfiles type cd pictures
at cd\pictures type landscapes (or whatever your
directory is called)

..3. Finally, in the directory where you want the list, type
dir >c:\dirlist.txt

This will create a file called c:\dirlist.txt which you can open in a
text editor.

((or, you could have typed dir c:\myfiles\pictures\landscapes >
c:\dirlist.txt which would have done the same thing.) The
greater-than symbol is the important thing. It redirects the screen output
to a file.

Why Windows does not make this easy is beyond all of us.

If this doesn't help, you may need to buy a book. Sorry.
 
Back
Top