1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Folder Listing

Discussion in 'Windows XP' started by sekfali, 2007/01/31.

  1. 2007/01/31
    sekfali

    sekfali Inactive Thread Starter

    Joined:
    2007/01/31
    Messages:
    5
    Likes Received:
    0
    Hello,

    I am sure the answer to this is very simple but for the moment I cannot find it:

    Is there a way to list all the files and subfolders of a given folder in Windows?

    Thanks
     
  2. 2007/01/31
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    Do you by any chance mean "print" the list? If so there are dozens of free "folder print" type applications.
     

  3. to hide this advert.

  4. 2007/01/31
    sekfali

    sekfali Inactive Thread Starter

    Joined:
    2007/01/31
    Messages:
    5
    Likes Received:
    0
    Printing it is fine too.....preferably I would like to see it then print it otherwise I am fine with printing the list. Do you know any of these applications?
     
  5. 2007/01/31
    CB360T

    CB360T Inactive

    Joined:
    2007/01/28
    Messages:
    3
    Likes Received:
    0
    How to Add a Print Directory Feature for Folders in Windows XP
    Create the printdir.cmd and also printdirall.cmd
    1. Click Start, click Run, type notepad, and then click OK.
    2. Paste the following text into Notepad:
    @echo off
    dir %1 /-p /o:gn > "%temp%\Listing" (Note: use dir %1 /-p /o:gn /s for printdirall)
    start /w notepad /p "%temp%\Listing"
    del "%temp%\Listing" exit
    3. On the File menu, click Exit, and then click Yes to save the changes.
    4. In the Save As dialog box, type %windir%\printdir.cmd, and then click Save.
    5. Also printdirall.cmd for printing subdirectories

    Create a New Action for File Folders
    1. Click Settings - Control Panel - Folder Options.
    2. On the File Types tab, click File Folder.
    3. Click Advanced, and then click New.
    4. In the Action box, type Print Directory Listing.
    5. Also Print Subdirectories Listing
    6. In the Application used to perform action box, type printdir.cmd, and then click OK.
    7. Also printdirall.cmd for subdirectories
    8. Click OK, click OK, and then click Close.
     
  6. 2007/01/31
    sekfali

    sekfali Inactive Thread Starter

    Joined:
    2007/01/31
    Messages:
    5
    Likes Received:
    0
    isn't that going to print the whole directory
     
  7. 2007/01/31
    CB360T

    CB360T Inactive

    Joined:
    2007/01/28
    Messages:
    3
    Likes Received:
    0
    A notepad window will appear.
    You decide whether to read, save, or print it.
    Your choice.
     
  8. 2007/01/31
    sekfali

    sekfali Inactive Thread Starter

    Joined:
    2007/01/31
    Messages:
    5
    Likes Received:
    0
    ok
     
    Last edited: 2007/01/31
  9. 2007/01/31
    hawkeye

    hawkeye Inactive

    Joined:
    2006/12/27
    Messages:
    78
    Likes Received:
    0
  10. 2007/01/31
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    You can also click Start->Run and type CMD

    From the command prompt to can type DIR to see a list of files....You can also type DIR > filename.txt to send the info to a text file...
     
  11. 2007/01/31
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    You can do this from a command prompt.

    dir (path to folder name) >c:\list.txt

    The command above would make a text file named list.txt and put it in the root of your c drive. If the path to the folder you want to list has spaces in it, you need to put it in quotes. For example, the documents and settings folder. If you wanted to make text file that listed the contents of it, the command would look like this.

    dir "c:\documents and settings" >c:\list.txt
     
  12. 2007/01/31
    sekfali

    sekfali Inactive Thread Starter

    Joined:
    2007/01/31
    Messages:
    5
    Likes Received:
    0
    thanks everybody....it's working....I used CB360T and Hawkeye's techniques but did not understand that I had to select the folder and right click. Well on the other hand it prints automatically so better be prepared and know this is what you want. I ended up with a thousand page at my first try. :)
     
  13. 2007/01/31
    surferdude2

    surferdude2 Inactive

    Joined:
    2004/07/04
    Messages:
    4,009
    Likes Received:
    23
    For more control, if you need or want, get DirPrint, which is a nice freebie that allows you to choose what and whether to print or copy to the clipboard. It has been around a long time and is well proven.
     
    Last edited: 2007/01/31

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.