Skip to content

5000+ Great Articles

Best Articles & Essays: Interesting Articles to Read Online

  • How to Use iPhone as Speaker For Mac How-To
  • Change Default Web Browser in Windows 8

    Windows 8 now has two ways to log into your computer: through a Microsoft account, which syncs your settings and apps across your Windows 8 PC, and

  • Troubleshoot Adobe Flash Player Has Stopped Working Computer Tips
  • View hidden files and folders in Windows Windows
  • Ultimate Guide to Removing or Resetting a BIOS Password Cool Websites
  • 7 Ways To Deal With Social Media Withdrawal technology
  • HDD Raid Vs SSD Raid: The Major Differences You Should Know Reviews
  • How To Create a Shared Storage Drive For Dual-Boot Systems How-To

Convert Windows Directory to HTML Listing

Posted on October 6, 2020 By blog_786 No Comments on Convert Windows Directory to HTML Listing

Have you ever needed to create an HTML file that lists all the files and folders in a specific Windows directory? You may not need to do this very often, but it can come in handy from time to time.

For example, if you want to quickly create a list of all files and folders inside the Window directory and send it to someone in an easy-to-view format. Earlier I wrote about how you can use the command line or third-party applications to print a list of all files and folders in the Windows directory, however, these options only output to text, Word, or Excel.

DirHTML

DirHTML is a great program that pretty much does the same: generates a recursive list of files and folders, but outputs it as an HTML table with links! Thus, you can click any file to open it in a web browser or any other default application for that file type. This can be very handy for web developers working on a website locally.

Below is how the HTML directory listing for the download folder on my computer is displayed. You will notice that the result is a bit simple and old-school-like. This is because the program is outdated and therefore the web page it generates looks rather old. If you want more interesting output for the directory listing, check out the second Snap2HTML program I mention below.

Convert Windows Directory to HTML Listing

At the top are anchors, which are links to all folders within the directory you specified. This will list all the files in the root folder and in each root folder along with their main file attributes. You can click any file to open it.

After downloading the program, just run the dirhtml.exe file, and you will get this configuration window:

The program is highly customizable, but you can also just select a folder and click the Create button if you don’t want to do anything else. You can filter by file extension (file specification) or file names.

In the Miscellaneous section, you can specify the file attributes you want to include in the HTML output and whether you want to use full paths in links. This is useful if you want to be able to transfer files / folders to another computer. You can copy the folder to another computer in the same path, i.e. C: My Documents Test, and still be able to click the files in the HTML list to open them.

In the Sorting section, you can choose to sort files by file name, size, date, and extension.

You can also configure the program to create a directory listing recursively or not. You can choose whether you want to combine all links into one HTML file or create an HTML file for each individual folder.

All in all, it is a useful program for quickly creating HTML web pages for any branch of a folder in Windows.

Snap2HTML

The second program, Snap2HTML, doesn’t have that many options, but it looks better. Here is the HTML output for the same download directory on my computer:

Convert Windows Directory to HTML Listing

The program has a very simple interface and only a couple of options. To run the program, simply double-click the Snap2HTMLexe file. Like DirHTML, this program does not require installation.

Convert Windows Directory to HTML Listing

First you select the root folder where you want to start the directory listing. There are two options for including hidden or system files, if you like. You can change the title of the HTML page and select the Include check box in the Link Files section if you want each file to be a clickable link.

You can test the “Open in Browser when Ready” button and then click “Create Snapshot” to create a list of HTML directories. You will be prompted to save the HTML file first and then it will open in your default web browser.

So, you have two programs that do their job. Each has its own pros and cons, so feel free to choose the one that best suits your needs. If you have any questions, please leave a comment. Enjoy!

–

Share this:

  • Twitter
  • Facebook
Free Software Downloads

Post navigation

Previous Post: How to Use HTML Signatures in Gmail, Hotmail, Yahoo
Next Post: How to Combine or Merge Multiple Text Files

Related Posts

  • 12 Handy Tools to Keep on Your USB Stick Free Software Downloads
  • How to Combine Multiple PowerPoint Presentations Free Software Downloads
  • 5 VR Applications that Aren’t Games Free Software Downloads
  • The Best Resources for Royalty Free Music to Use for YouTube Videos Free Software Downloads
  • How to Sync Two Folders in Real Time in Windows Free Software Downloads
  • The Key to Successful Vat Calculation Example Free Software Downloads

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archives

  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • March 2021
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • AI Tools & Guides
  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Featured Posts
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • islamic Books
  • Linux
  • Linux Tips
  • Mac OS X
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Windows XP Tips
  • Wordpress
  • 5 Cool Websites to Find Good Movies and TV Shows on Netflix
  • SmartDNS vs VPN – What’s the Difference?
  • How to go Back to the old YouTube Layout (2017)
  • A Simple Trick to Get 50% Discount on Audible for Three Months
  • What Is “Other” Storage on Android And How to Clean It Up ?
DMCA.com Protection Status

Recent Posts

  • How to Bypass Chromecast DNS and Circumvent Geo Blocking
  • 5 Cool Websites to Find Good Movies and TV Shows on Netflix
  • SmartDNS vs VPN – What’s the Difference?
  • How to go Back to the old YouTube Layout (2017)
  • A Simple Trick to Get 50% Discount on Audible for Three Months

Recent Comments

  1. A Simple Trick to Get 50% Discount on Audible for Three Months on Private Browsing: What is it and What it is not
  2. 6 Best PayPal Alternatives (2017) on How to Save Money While Shopping Online in India
  3. Automatically Transcribe YouTube Video/Audio with Google Docs on 5 Best Team Management Apps (For Small and Large Teams)
  4. 6 Things You Need Know About Email Encryption on Delete All Emails from Gmail With Once Click
  5. Looking For YouTube Alternative? Try These 7 Video Sharing Sites on Ten Best YouTube Video Editing Software 2023
  • 9 Useful Tips How To Use Google Translate Google Software/Tips
  • How To Clean Your Phone To Prevent The Spread Of Bacteria Smartphones
  • Best scientific calculator texas instruments 2020

    Best scientific calculator texas instruments 2020. 1 - Protective Case for Texas Instruments TI-30XS / TI30XS Multiview Top Reviews

  • Top 25 Movies on Amazon Prime until 2010 technology
  • Google Keep vs Microsoft OneNote: Which is different and which is better? Software Reviews
  • Remove Stuck Entries from Programs and Features Computer Tips
  • How to Record Yourself Online Using a Webcam Cool Websites
  • How to Share Your Computer’s Mouse (and Keyboard) With Your Android How-To

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version