Re: Printing list of files in a folder
From: Rick \ (rick_at_mvps.org)
Date: 11/06/04
- Next message: Rick \: "Re: I need help, its urgent!!"
- Previous message: Shenan Stanley: "Re: How do you get system restore working?"
- In reply to: technopeasant: "Re: Printing list of files in a folder"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 6 Nov 2004 18:50:08 -0500
Hi,
Example: You want a text file of the contents of the C:\music folder and all
its subdirectories
Start/run cmd, type:
C:\Documents and settings\<username>>CD\
C:\>dir> music /s> music.txt
Now on the root of C: you will find a music.txt file that lists all the
subdirectories and files within each.
-- Best of Luck, Rick Rogers, aka "Nutcase" - Microsoft MVP http://mvp.support.microsoft.com/ Associate Expert - WindowsXP Expert Zone www.microsoft.com/windowsxp/expertzone Windows help - www.rickrogers.org "technopeasant" <technopeasant@discussions.microsoft.com> wrote in message news:32DEAC79-3038-491E-96DE-46DB8B80E4CE@microsoft.com... > Rick; I'm thick---don't understand this part...Run "dir> file.txt". This > will > create a text file of the contents of the >> folder that you can open in notepad for printing or saving. > > > "Rick "Nutcase" Rogers" wrote: > >> Hi, >> >> Open a command prompt (start/run cmd), go to the folder of choice. >> >> Run "dir> file.txt". This will create a text file of the contents of the >> folder that you can open in notepad for printing or saving. >> >> If you wish to add the contents of the subdirectories, run "dir >> <drive><folder> /s> file.txt". >> >> You may find this useful: >> >> HOW TO: Add "Print Directory" Feature for Folders in Windows XP [Q321379] >> http://support.microsoft.com/?kbid=321379 >> >> If you head to google.com and search on "free directory printer", you >> will >> also find many other useful tools. >> >> -- >> Best of Luck, >> >> Rick Rogers, aka "Nutcase" - Microsoft MVP >> http://mvp.support.microsoft.com/ >> Associate Expert - WindowsXP Expert Zone >> www.microsoft.com/windowsxp/expertzone >> Windows help - www.rickrogers.org >> >> "technopeasant" <technopeasant@discussions.microsoft.com> wrote in >> message >> news:33F589D2-A0E9-48B3-A0CB-6CEC1731263E@microsoft.com... >> > In the "My Documents"/"Leters" folder there are 50 Word documents. I >> > want >> > to >> > print a list of the names of the documents not the documents >> > themselves. >> > How >> > can you do that without printing every individual document? >> > >> > Thanks >> > >> >> >>
- Next message: Rick \: "Re: I need help, its urgent!!"
- Previous message: Shenan Stanley: "Re: How do you get system restore working?"
- In reply to: technopeasant: "Re: Printing list of files in a folder"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading