How can I copy a listing of contents in a folder?

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

Guest

In 2000 there is a function of copying just the listing in a folder by
sending to Clipboard as name, but in XP professional there is not that I am
aware of. I would like to copy just the list of names in a folder.
 
You can do it with a redirector at the command prompt. Open a command
prompt and navigate to the folder then issue a dir command and redirect
the output to a file, example:

This will send the listing of the current directory to output.txt at the
root of C:

dir>C:\output.txt

or from anywhere just use the folder path, example, this will send the
listing of myfolder on C: to output.txt on C:

dir c:\myfolder>c:\output.txt

John
 
Which version of Office do you have? I know how you can do it in Office
2000. Make sure to show the Outlook Bar and click on Other Shortcuts.
Click on My Computer and you will see in the right section the drive listing
and file listing. Make sure that what you want to print the listing of is
showing and go File Print and I always just do a pdf. It ends up looking
better than going through a command prompt.

Rose
 
copycat said:
In 2000 there is a function of copying just the listing in a folder by
sending to Clipboard as name, but in XP professional there is not
that I am aware of. I would like to copy just the list of names in a
folder.
 
copycat said:
In 2000 there is a function of copying just the listing in a folder by
sending to Clipboard as name, but in XP professional there is not
that I am aware of. I would like to copy just the list of names in a
folder.

Go to a command prompt and issue the command

dir [drive:folder] > c:\filename (you can use any name and put it in any
folder you want)

Once you have the list in a file you can do whatever you want with it. You
can print it, or if you want to copy and paste it somewhere, open the file
in notepad, and copy it to the clipboard from there.
 
copycat said:
In 2000 there is a function of copying just the listing in a folder by
sending to Clipboard as name, but in XP professional there is not that I am
aware of. I would like to copy just the list of names in a folder.


Actually, the method is the same in WinXP. 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:



They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -Benjamin Franklin
 
Download a program called ddfilecatcher (drag n drop file catcher). You can
drag a group of folders to it and the names get copied to clipboard. You can
then import the names into any program.

DDFileCatcher
http://www.ddfilecatcher.com/
 
Back
Top