PDA

View Full Version : How to simply copy list of folder contents?


Richard Hart
December 6th 03, 03:08 PM
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.

Rick \Nutcase\ Rogers
December 6th 03, 03:08 PM
Hi Richard,

Actually, there's more to it, see:

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

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org

"Richard Hart" > wrote in message
...
> 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.

Bruce Chambers
December 6th 03, 03:08 PM
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:
http://dts-l.org/goodpost.htm
http://www.catb.org/~esr/faqs/smart-questions.html

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


"Richard Hart" > wrote in message
...
> 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.

Ramesh
December 6th 03, 03:08 PM
You may use the "dir /b" parameter. See the reply from Bruce.

--
Regards,
Ramesh
AOL: SRamesh2k

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

~ Please reply to newsgroup ~


"Richard Hart" > wrote in message
...
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.

Richard Hart
December 6th 03, 03:10 PM
Thank you all. I've got it now.

>-----Original Message-----
>Hi Richard,
>
>Actually, there's more to it, see:
>
>HOW TO: Add "Print Directory" Feature for Folders in
Windows XP [Q321379]
>http://support.microsoft.com/?kbid=321379
>
>--
>Best of Luck,

Google