Skip to content

5000+ Great Articles

Best Articles & Essays: Interesting Articles to Read Online

  • How To Create & Contribute To A Wikipedia Page Computer Tips
  • What is Focus Mode on iPad and How to Use It? iPad
  • Internet commentary etiquette can enhance your social experience Computer Tips
  • How to overclock a monitor Computer Tips
  • Improve Your LinkedIn Job Search With These 6 Tips Computer Tips
  • How to embed video within video in Adobe Premiere Computer Tips
  • How to Burn a DVD on a Mac Mac OS X
  • Device Manager Empty or Blank in Windows? Windows XP Tips

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

  • Convert a Windows PC into a Virtual Machine using Hyper-V Free Software Downloads
  • Capture Screenshots at Defined Time Intervals Automatically in Windows Free Software Downloads
  • How to Use HTML Signatures in Gmail, Hotmail, Yahoo Free Software Downloads
  • Best Free Alternative PDF Viewer to Adobe Reader Free Software Downloads
  • Split or Divide Your Desktop Screen into Multiple Parts Free Software Downloads
  • How to Combine Multiple PowerPoint Presentations 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
  • Protect Your Facebook Account From Hackers (2017)
  • 4 Ways to Share WiFi Without Giving Away Your Password
  • How to Get 2 Free Audiobooks From Audible Trial Instead of 1
  • 10 Things to Check Before Publishing a YouTube Video
  • A Simple Trick to Get 50% Discount on Audible for Three Months
DMCA.com Protection Status

Recent Posts

  • Protect Your Facebook Account From Hackers (2017)
  • 4 Ways to Share WiFi Without Giving Away Your Password
  • How to Get 2 Free Audiobooks From Audible Trial Instead of 1
  • 10 Things to Check Before Publishing a YouTube Video
  • MailTag: Real-time Email Tracking, Made Easy

Recent Comments

  1. This Simple Trick Lets You Play YouTube in the Background on iOS on YouTube Not Working? Here Are Quick Fixes To Try
  2. How to Bypass Chromecast DNS and Circumvent Geo Blocking on 5 Cool Websites to Find Good Movies and TV Shows on Netflix
  3. 5 Cool Websites to Find Good Movies and TV Shows on Netflix on check netflix video quality internet explorer
  4. SmartDNS vs VPN “What’s the Difference?” on How to Watch Apple TV on Roku
  5. How to go Back to the old YouTube Layout (2013) on 10 Things to Check Before Publishing a YouTube Video
  • 3 Wireless Earbud Alternatives to Apple’s AirPods Hardware
  • red dot on apple watch Apple Watch
  • How to Make Your Own Animated Movie Online Cool Websites
  • Essential Software and Features for a New Windows 10 PC

    While Apple and Android vie to become the undisputed leader in the smartphone and tablet world, Microsoft continues to focus on one of its flagship

  • Best ti-15 calculator 2020

    Best ti-15 calculator 2020. 1 - TEXTI15 - Texas Instruments TI-15 Explorer Elementary Calculator Top Reviews I bought t

  • Philips Hue vs the Competition – Which are the Best Smart Lights? Smart Home
  • FLAC vs. MP3 – Why You Should Consider Converting Your Music Collection to FLAC Computer Tips
  • Is PlayStation Now Worth It? Gaming

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version