How to simply copy list of folder contents?

R

Richard Hart

I want to do something that is extremely easy to do on
other systems that I have used, but I can't figure out how
to do it in my Win XP Pro system.

How to I copy the list of file names in a folder to an
email message I want to send. I want just the list of file
names, not the actual file contents (which is 1GB+).
Everything I've tried to do, like copy and paste, has
copied the file contents and not the list of file names.
 
B

Bruce Chambers

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 Word.

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
 
R

Ramesh

You may use the "dir /b" parameter. See the reply from Bruce.

--
Regards,
Ramesh
AOL: SRamesh2k

«·´`·.(*·.¸(`·.¸ ¸.·´)¸.·*).·´`·»
«.............. Ramesh ...............»
«·´`·.(¸.·´(¸.·* *·.¸)`·.¸).·´`·»

~ Please reply to newsgroup ~


I want to do something that is extremely easy to do on
other systems that I have used, but I can't figure out how
to do it in my Win XP Pro system.

How to I copy the list of file names in a folder to an
email message I want to send. I want just the list of file
names, not the actual file contents (which is 1GB+).
Everything I've tried to do, like copy and paste, has
copied the file contents and not the list of file names.
 
B

Bruce Chambers

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 Word.

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
 

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