How do I print a li...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] How do I print a list of files in a folder?

20 Posts
17 Users
0 Reactions
60 Views
Posts: 3271
Full Member
Topic starter
 

I want to print a list of the files in a folder (or copy/paste the list to a document). Only way I can see is ctrl/prtScn in to Word. Is there a better way to do this (ie something i can edit too) or some software to do this?

Ta


 
Posted : 28/11/2013 3:38 pm
 nbt
Posts: 12381
Full Member
 

open a dos prompt in that folder (shift and right click, open command prompt here
type this:

dir > c:\list.txt

This will give you a directory listing in a text file called "list.txt" on the root of your C drive. Change the name and / or location of your output file to suit


 
Posted : 28/11/2013 3:42 pm
Posts: 28
Free Member
 

dir /b > c:\list.txt is better if you only want the file names.


 
Posted : 28/11/2013 3:43 pm
Posts: 5807
Free Member
 

You can edit the registry to allow it from Explorer but I always use the nbt method.


 
Posted : 28/11/2013 3:44 pm
Posts: 151
Free Member
 

At the dos prompt:

dir > myfiles.txt


 
Posted : 28/11/2013 3:44 pm
Posts: 0
Free Member
 

Would a screen grab not be easier?

Ah forget that, I didn't read the copy/paste bit.


 
Posted : 28/11/2013 3:46 pm
 DezB
Posts: 54367
Free Member
 

Download Hyena. Browse to the folder in the left pane and double-click. In the right pane, select all the folders. From the menu bar select COPY. Highlight the fields you want. Paste into Word, Excel or Notepad.
I'd do what nbt said, but I'm a bit bored.


 
Posted : 28/11/2013 3:48 pm
Posts: 3271
Full Member
Topic starter
 

Cheers!

Dear [s]Father Christmas[/s] Mr Bill Gates

Please can you add a function to copy & paste the list of file names in explorer

Yours,
40mpg


 
Posted : 28/11/2013 3:58 pm
Posts: 12865
Free Member
 

Dear Mr Bill Gates

Please can you add a function to copy & paste the list of file names in explorer

Hasn't he ripped off enough Mac functionality already? 😀


 
Posted : 28/11/2013 4:42 pm
Posts: 887
Full Member
 

[url= http://www.jam-software.com ]This lot[/url] do some handy software for files and folders including this freebie:-

http://www.jam-software.com/filelist/


 
Posted : 28/11/2013 4:48 pm
Posts: 0
Free Member
 

open a dos prompt in that folder (shift and right click

I did not know that. Nice.


 
Posted : 28/11/2013 4:50 pm
Posts: 5807
Free Member
 

Please can you add a function to copy and paste the list of file names in explorer
*

[url= http://support.microsoft.com/kb/321379 ]Happy Christmas 40mpg![/url]

*Well, nearly!


 
Posted : 28/11/2013 4:52 pm
Posts: 0
Free Member
 

Had one that listed sub folder contents but cant find it, googled this though:

Open notepad paste this in:

dir /a /b /-p /o:gen >C:\WINDOWS\Temp\file_list.txt
start notepad C:\WINDOWS\Temp\file_list.txt

save the notepad file as list.bat on your desktop or anywhere.

Copy the bat file to the directory you want to list the contents of, then double click it.


 
Posted : 28/11/2013 6:04 pm
Posts: 8527
Free Member
 

Folder size would be nice in a windows app.

In the hope to see where the money shots are in directory size.


 
Posted : 28/11/2013 6:11 pm
Posts: 0
Full Member
 

Yep, I use .bat files to automate parts of the circus.


 
Posted : 28/11/2013 6:13 pm
Posts: 0
Free Member
 

Folder size would be nice in a windows app.

In the hope to see where the money shots are in directory size.

This any use?

[url= http://www.jam-software.com/treesize_free/ ]TreeSize[/url]


 
Posted : 28/11/2013 6:23 pm
Posts: 77347
Free Member
 

Open a dos prompt in that folder (shift and right click

Run regedit.

Go to hkey_classes_root\directory\shell\cmd

Delete the "extended" key in the other window.

Hey presto, you don't need to press Shift any more, the option's always there.


 
Posted : 28/11/2013 7:26 pm
Posts: 28
Free Member
 

Treesize is most handy for showing what dirs are using all the HD space. If you are doing a lot with files/dirs then TotalCommander is excellent ( there is a learning curve, so you might swear at it before you swear by it).


 
Posted : 28/11/2013 7:29 pm
 kevj
Posts: 0
Free Member
 

Long winded version here. Download winrar, zip em all up. Open zip file and export to a variety of file types.


 
Posted : 28/11/2013 9:53 pm
Posts: 97
Full Member
 

What a bloody faff.
Typical IT logic in thinking it would be good to have to use a command prompt in this day & age.


 
Posted : 28/11/2013 11:30 pm
Posts: 8527
Free Member
 

^^

TreeSize worked a treat. Thanks guys.

Cleared up a stack of space... found an installation of CoD at 4 gig I forgot about in past.

Everything must go 🙂


 
Posted : 29/11/2013 7:00 pm

6 DAYS LEFT
We are currently at 95% of our target!