How to copy file names?

  • Thread starter Thread starter Bogwattie
  • Start date Start date
B

Bogwattie

In Explorer or My Computer, how can I copy and paste the names of folders
and files? The machine thinks I want to copy the file or folder and I just
want a list of file names to paste into Word.

Walt
 
Hi Walt

Right-click on file, select Rename. While the file name is highlighted you
can use copy/paste on it.


--

Will Denny
MS-MVP Windows - Shell/User


| In Explorer or My Computer, how can I copy and paste the names of folders
| and files? The machine thinks I want to copy the file or folder and I just
| want a list of file names to paste into Word.
|
| Walt
|
|
 
Hi,

In Explorer or My Computer, how can I copy and paste the names of folders
and files? The machine thinks I want to copy the file or folder and I just
want a list of file names to paste into Word.

Walt

Open a command prompt (Start > Run > cmd)
navigate to the parent folder, for example, if you want the names of
the folders abd files in the C: drive type
cd\
type
dir *.* /s > listfile.txt

This will direct all the content of the C drive into a txt file you
can open with notepad or word and print.
You can do the same with any folder you want

HTH
 
Bogwattie said:
In Explorer or My Computer, how can I copy and paste the names of folders
and files? The machine thinks I want to copy the file or folder and I just
want a list of file names to paste into Word.

Walt

If your intent in trying to copy the files names to Word is to print a file
list, you may find Karan's Directory Printer {free} more useful. You can
find it here:

http://www.karenware.com/powertools/powertools.asp

If you want to get the file names into Word for some other reason, then:

Open a CMD {DOS} window.
CD {Path to the folder for which you want the file list}
DIR {path}\{filename}.txt

The above will create a text file in the folder provided by "path" with the
file name you choose.

The DIR command has a number of switches you can use. For help on DIR use
DIR /? in a CMD window.

Don
 
Bogwattie said:
In Explorer or My Computer, how can I copy and paste the names of folders
and files? The machine thinks I want to copy the file or folder and I just
want a list of file names to paste into Word.

Walt


Ninotech Path Copy is a clean and free utility for doing just what you want
from the right click menu.

Ninotech Path Copy is a shell extension for Windows 95, 98, NT4, 2000, and
XP that enables you to copy the path of a file or directory to the
Clipboard.

http://home.worldonline.dk/ninotech/freeutil.htm

--
D

I'm not an MVP a VIP nor do I have ESP.
I was just trying to help.
Please use your own best judgment before implementing any suggestions or
advice herein.
No warranty is expressed or implied.
Your mileage may vary.
See store for details. :)

Remove shoes to E-mail.
 
Greetings --

From the command prompt (Start > Run > Cmd.exe), simply change to
the desired directory and type "dir > filelist.txt" or "dir > lpt1,"
just as you used to do in DOS. Any of the switches for the DIR
command (type "dir /?") will work with this command, if you wish to
modify the output. You can then subsequently edit the resulting text
file using NotePad, WordPad, Word, etc.

Alternatively:

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


Bruce Chambers

--
Help us help you:




You can have peace. Or you can have freedom. Don't ever count on
having both at once. -- RAH
 
Back
Top