Skip to content

How To Blog

how to

  • 11 Best Ways to Improve Alexa Capabilities Computer Tips
  • how to watch u.s. open golf 2022 technology
  • Useful Gmail Tips Tricks for Advance User How-To
  • 10 Things You Want To Consider Should I buy or build a PC? Help Desk
  • 11 Best Android Apps in 2020 Smartphones
  • best free website to find things to do near me Cool Websites
  • How to Stop an LCD Monitor from Flickering Computer Tips
  • When Was The Internet Invented? 10 Facts You Probably Didn’t Know technology

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!

–

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

  • Capture Screenshots at Defined Time Intervals Automatically in Windows Free Software Downloads
  • The Best Open Source Software You Should Be Using Free Software Downloads
  • Volume Too Loud While Playing Videos on PC? Free Software Downloads
  • The Best Free Defrag Tool for Windows is Itself Free Software Downloads
  • How to Identify Music or Songs by Sound Free Software Downloads
  • Best Free Alternative PDF Viewer to Adobe Reader Free Software Downloads

Leave a Reply Cancel reply

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

  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • January 2023
  • December 2022
  • 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
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • 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

2021 Android ) Apple apps Best browser change Chrome Closing words Concluding remarks Download email Error Facebook From Google Image Internet Keyboard Mac make Movies Music online Packaging phone? Photos Print Shortcuts sites Switch Time Tips Tricks turn using Video Videos Watch What With Word Working? your YouTube

  • How To Add Friends on Discord technology
  • How to Find Samsung Smart TV (or any TV) IP Address Without Remote How-To
  • How to Automatically Forward Email in Outlook 2019 Office Tips
  • Things you should know about Netflix How-To
  • How to Speed Up Logging Into Windows Computer Tips
  • How to Change Your Online ID on PS4 How-To
  • Ryzen 3900X vs Intel i9-9900K – Which CPU Is Truly Better? Reviews
  • How to Set Up Your New Apple Watch Apple Watch

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage vendors Read more about these purposes
View preferences
{title} {title} {title}
Go to mobile version