Skip to main content
Participating Frequently
May 22, 2024
Answered

Printable File List from Dreamweaver

  • May 22, 2024
  • 2 replies
  • 540 views

Hey all.  I would like to print a list of all filenames in a specific website.  Exporting to csv or Google Sheets would work also.  Most recent Dreamweaver.

    This topic has been closed for replies.
    Correct answer Jon Fritz

    As far as I have seen, there is no "print file list" in DW. I'm not sure if there ever was to be honest. It's just not something I would have ever used.

    However, getting a list is pretty simple, in Windows anyway...

    1. Click your desktop and hit Ctrl + N to get a new Window's File Explorer window to pop up
    2. Browse to your site's root folder
    3. Once there, in the location bar of the window, type "cmd" (no quotes)
    4. Hit Enter. This will bring up the location of the folder in a Command Prompt
    5. Type in "dir /s >FileList.txt" (no quotes). Make sure there is a space after "dir" and after "/s"
    6. Hit Enter. Nothing will appear to happen aside from a duplicate of the previous line popping up within the Command Prompt. That's normal...

    This will create a text file called "FilesList.txt" in your site's root folder, a list of all files and folders within your site's root. You can then open that .txt file up and print as is, or bring it into Excel, clean it up a bit, and print from there.


    2 replies

    Community Expert
    May 22, 2024

    to complete what @Jon Fritz has just said, and if you wish to reproduce your entire site, I would add another command, which would be to replace line 5 with

    tree /f /a > FileList.txt

    This time you'll have all the files and folders contained in the target folder, but also all the files contained in each directory.
    However, if you use this command on a WordPress site, the file generated will be extremely verbose, so use with care

    SchmonkeeAuthor
    Participating Frequently
    May 22, 2024

    Thank you for the addition!

    Jon Fritz
    Community Expert
    Jon FritzCommunity ExpertCorrect answer
    Community Expert
    May 22, 2024

    As far as I have seen, there is no "print file list" in DW. I'm not sure if there ever was to be honest. It's just not something I would have ever used.

    However, getting a list is pretty simple, in Windows anyway...

    1. Click your desktop and hit Ctrl + N to get a new Window's File Explorer window to pop up
    2. Browse to your site's root folder
    3. Once there, in the location bar of the window, type "cmd" (no quotes)
    4. Hit Enter. This will bring up the location of the folder in a Command Prompt
    5. Type in "dir /s >FileList.txt" (no quotes). Make sure there is a space after "dir" and after "/s"
    6. Hit Enter. Nothing will appear to happen aside from a duplicate of the previous line popping up within the Command Prompt. That's normal...

    This will create a text file called "FilesList.txt" in your site's root folder, a list of all files and folders within your site's root. You can then open that .txt file up and print as is, or bring it into Excel, clean it up a bit, and print from there.


    SchmonkeeAuthor
    Participating Frequently
    May 22, 2024

    Thank you!