hello trying to copy a list of file names from a folder into wordpad or
notepad. on linux or dos i have used mark, but this option doesn't come up
in explorer when right clicking. what method would i use to accomplish this?
all help will be appreciated, thank you.
Ramesh, MS-MVP - 30 Aug 2006 18:39 GMT
How to add the Print Directory feature for folders in Windows XP:
http://support.microsoft.com/?kbid=321379
(To print to a file, remove the /p parameter)
See also:
Karen's Directory Printer:
http://www.karenware.com/powertools/ptdirprn.asp

Signature
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com
hello trying to copy a list of file names from a folder into wordpad or
notepad. on linux or dos i have used mark, but this option doesn't come up
in explorer when right clicking. what method would i use to accomplish
this?
all help will be appreciated, thank you.
John John - 30 Aug 2006 18:46 GMT
You can do it with a redirector from a command prompt. Navigate to the
folder that you want to export the file names and issue the dir command
with redirector(dir>[path]), for example:
C:\WINNT\PROFILES>dir>C:\test.txt
Will send the contents of C:\WINNT\PROFILES to a notepad file (test.txt)
to the root of C.
You can also use third party utilities such as:
http://www.karenware.com/powertools/ptdirprn.asp
John
> hello trying to copy a list of file names from a folder into wordpad or
> notepad. on linux or dos i have used mark, but this option doesn't come up
> in explorer when right clicking. what method would i use to accomplish this?
> all help will be appreciated, thank you.
Bruce Chambers - 31 Aug 2006 02:15 GMT
> hello trying to copy a list of file names from a folder into wordpad or
> notepad. on linux or dos i have used mark, but this option doesn't come up
> in explorer when right clicking. what method would i use to accomplish this?
> all help will be appreciated, thank you.
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

Signature
Bruce Chambers
Help us help you:
http://dts-l.org/goodpost.htm
http://www.catb.org/~esr/faqs/smart-questions.html
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -Benjamin Franklin
Many people would rather die than think; in fact, most do. -Bertrand Russell