Re: Copying File Names into a List



Several ways to do this. Here are a couple.

Add a Print Directory Feature for Folders in Windows XP
http://www.mvps.org/sramesh2k/PrintDirectory.htm

HOW TO: Add a "Print Directory" Feature for Folders in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;321379

Karen's Directory Printer
http://www.karenware.com/powertools/ptdirprn.asp

You can use the dir command and send the output to a text file.

Open a command prompt...
Start | Run | Type: cmd | Click OK or hit your Enter key.

Change Directory to the folder that you want.

cd C:\Documents and Settings\Your Name Here\blahblah

Hit your Enter key.

Type or paste the following command and hit Enter.

dir /b /o:ng > "%userprofile%\Desktop\Directory.txt"

Directory.txt will be created on your Desktop.

Without Changing Directory.

Open a command prompt and type or paste the following command and hit Enter
after changing the path in the command to the folder that you want.

dir "C:\Documents and Settings\Your Name Here\blahblah" /b
/n>"%userprofile%\Desktop\dirlist.txt"

The line wrapped. There should be one space between /b and /n.

Directory.txt will be created on your Desktop.

/b Uses bare format, no date, time or size listed.

/o:ng O list by files in sorted order. N alphabetic by name. G groups
directories first.

Type: cd /? for Help on the cd command.

Type: dir /? for Help on the dir command.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:BBD6036B-C5E7-482B-A130-941395856490@xxxxxxxxxxxxx,
mcw1902 <mcw1902@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
I have just added 15000 + files to a folder & would like to be able to
make a list of them that I can send via email to friends. I'm hoping I
don't have to type them all in individually.
Is there a way of copying the file names into a list?
I'd appreciate any help.
Thank you, Martin.

.



Relevant Pages

  • Re: Cannot delete file with name ended with a dot.
    ... receive the message "File Not Found" (from command prompt I cannot see the ... The operating system is Windows 2008 server standard x64. ... A little background on undeletable files and folders: ... files to it but use characters in the name that FTP supports (ASCII ...
    (microsoft.public.windows.server.general)
  • Success
    ... secure Windows, IIS, IE, Outlook Express ... >different upload and download folders. ... >Third party FTP software, or OpenSSH, or VPN can be used ... >1) Use a "DOS" Command Prompt for the steps below. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Idiot_self+trojans+administrative privs = Disaster
    ... What I do in cases like this is to get a good command line virus scanner, put it on a flash drive, and boot the machine from a WinPE CD. ... Once the machine is at the command prompt, I empty all the temp folders for all user profiles and in windows, as well as the temporary internet files/content.ie5 folders. ...
    (Security-Basics)
  • Re: Print a list of Folders, Subfolders & Filenames in a specific driv
    ... Add a "Print Directory" Feature for Folders in Windows XP ... You can use the dir command and send the output to a text file. ... Hit your Enter key. ...
    (microsoft.public.windowsxp.general)
  • Re: Copying File Names into a List
    ... Command Prompt Copy & Paste ... mouse and use the Enter key to copy the highlighted text to the Windows ... Highlight text with the cursor and hit the Enter key to copy to the Windows ...
    (microsoft.public.windowsxp.newusers)